[DOCS] Improve docs for 'elasticsearch-keystore add-file' command (#41084)
This commit is contained in:
parent
9cfe194131
commit
93d6766afe
|
@ -152,7 +152,7 @@ Some settings are sensitive and must be stored in the
|
|||
|
||||
[source,sh]
|
||||
----
|
||||
bin/elasticsearch-keystore add-file gcs.client.default.credentials_file
|
||||
bin/elasticsearch-keystore add-file gcs.client.default.credentials_file /path/service-account.json
|
||||
----
|
||||
|
||||
The following are the available client settings. Those that must be stored in the keystore
|
||||
|
|
|
@ -64,6 +64,18 @@ through stdin, use the `--stdin` flag:
|
|||
cat /file/containing/setting/value | bin/elasticsearch-keystore add --stdin the.setting.name.to.set
|
||||
----------------------------------------------------------------
|
||||
|
||||
[float]
|
||||
[[add-file-to-keystore]]
|
||||
=== Adding file settings
|
||||
You can add sensitive files, like authentication key files for cloud plugins,
|
||||
using the `add-file` command. Be sure to include your file path as an argument
|
||||
after the setting name.
|
||||
|
||||
[source,sh]
|
||||
----------------------------------------------------------------
|
||||
bin/elasticsearch-keystore add-file the.setting.name.to.set /path/example-file.json
|
||||
----------------------------------------------------------------
|
||||
|
||||
[float]
|
||||
[[remove-settings]]
|
||||
=== Removing settings
|
||||
|
|
Loading…
Reference in New Issue