Skip to content

Commit

Permalink
[DOCS] Improve docs for 'elasticsearch-keystore add-file' command (el…
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored and Gurkan Kaymak committed May 27, 2019
1 parent ac9b296 commit 24fc1da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins/repository-gcs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions docs/reference/setup/secure-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24fc1da

Please sign in to comment.