Docs: Fix encrypt watcher sensitive data documentation (elastic/x-pack-elasticsearch#4198)

The documentation mentions that the xpack.watcher.encrypt_sensitive_data
setting needs to be set in the keystore. This is wrong however, it needs
to be set in the standard elasticsearch yaml file.

relates elastic/x-pack-elasticsearch#4195


Original commit: elastic/x-pack-elasticsearch@613d63da85
This commit is contained in:
Alexander Reelsen 2018-03-22 18:57:31 +01:00 committed by GitHub
parent 179090c840
commit 23b4368fe4
2 changed files with 3 additions and 7 deletions

View File

@ -22,7 +22,7 @@ For more information about creating and updating the {es} keystore, see
`xpack.watcher.enabled`:: `xpack.watcher.enabled`::
Set to `false` to disable {watcher} on the node. Set to `false` to disable {watcher} on the node.
`xpack.watcher.encrypt_sensitive_data` (<<secure-settings,Secure>>):: `xpack.watcher.encrypt_sensitive_data`::
Set to `true` to encrypt sensitive data. If this setting is enabled, you Set to `true` to encrypt sensitive data. If this setting is enabled, you
must also specify the `xpack.watcher.encryption_key` setting. For more must also specify the `xpack.watcher.encryption_key` setting. For more
information, see information, see

View File

@ -19,17 +19,13 @@ every node in the cluster.
-- --
. Set the . Set the
{ref}/notification-settings.html[`xpack.watcher.encrypt_sensitive_data` setting] {ref}/notification-settings.html[`xpack.watcher.encrypt_sensitive_data` setting]:
in the {ref}/secure-settings.html[{es} keystore] on each node in the cluster.
+ +
-- --
For example, run the following commands to create and update the keystore:
[source,sh] [source,sh]
---------------------------------------------------------------- ----------------------------------------------------------------
bin/elasticsearch-keystore create xpack.watcher.encrypt_sensitive_data: true
bin/elasticsearch-keystore add xpack.watcher.encrypt_sensitive_data true
---------------------------------------------------------------- ----------------------------------------------------------------
-- --