[DOCS] Added setup-passwords command parameters (elastic/x-pack-elasticsearch#2735)

* [DOCS] Added setup-passwords command parameters

* [DOCS] Addressed feedback in setup-passwords command

Original commit: elastic/x-pack-elasticsearch@5401994c56
This commit is contained in:
Lisa Cawley 2017-10-26 08:22:31 -07:00 committed by lcawley
parent 62215f1fae
commit 61bfa39331
1 changed files with 15 additions and 2 deletions

View File

@ -10,7 +10,9 @@ The `setup-passwords` command sets the passwords for the built-in `elastic`,
[source,shell]
--------------------------------------------------
bin/x-pack/setup-passwords auto|interactive [-u "<URL>"]
bin/x-pack/setup-passwords auto|interactive
[-b, --batch] [-h, --help] [-E <KeyValuePair>]
[-s, --silent] [-u, --url "<URL>"] [-v, --verbose]
--------------------------------------------------
[float]
@ -29,12 +31,23 @@ or the <<security-api-change-password,Change Password API>>.
`auto`:: Outputs randomly-generated passwords to the console.
`-b, --batch`:: If enabled, runs the change password process without prompting the
user.
`-E <KeyValuePair>`:: Configures a standard {es} or {xpack} setting.
`-h, --help`:: Shows help information.
`interactive`:: Prompts you to manually enter passwords.
`-u "<URL>"`:: Specifies the URL that the tool uses to submit the user management API
`-s, --silent`:: Shows minimal output.
`-u, --url "<URL>"`:: Specifies the URL that the tool uses to submit the user management API
requests. The default value is determined from the settings in your
`elasticsearch.yml` file.
`-v, --verbose`:: Shows verbose output.
[float]
=== Examples