Skip to content

Commit

Permalink
[DOCS] Correct keystore commands for Email and Jira actions in Watcher (
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig authored Apr 1, 2019
1 parent 287e334 commit 39756fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions x-pack/docs/en/watcher/actions/email.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ In order to store the account SMTP password, use the keystore command

[source,yaml]
--------------------------------------------------
bin/elasticsearch-keystore xpack.notification.email.account.gmail_account.smtp.secure_password
bin/elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password
--------------------------------------------------

If you get an authentication error that indicates that you need to continue the
Expand Down Expand Up @@ -363,7 +363,7 @@ In order to store the account SMTP password, use the keystore command

[source,yaml]
--------------------------------------------------
bin/elasticsearch-keystore xpack.notification.email.account.outlook_account.smtp.secure_password
bin/elasticsearch-keystore add xpack.notification.email.account.outlook_account.smtp.secure_password
--------------------------------------------------


Expand Down Expand Up @@ -400,7 +400,7 @@ In order to store the account SMTP password, use the keystore command

[source,yaml]
--------------------------------------------------
bin/elasticsearch-keystore xpack.notification.email.account.ses_account.smtp.secure_password
bin/elasticsearch-keystore add xpack.notification.email.account.ses_account.smtp.secure_password
--------------------------------------------------

NOTE: You need to use your Amazon SES SMTP credentials to send email through
Expand Down
11 changes: 7 additions & 4 deletions x-pack/docs/en/watcher/actions/jira.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,15 @@ Jira account you need to specify (see {ref}/secure-settings.html[secure settings

[source,yaml]
--------------------------------------------------
bin/elasticsearch-keystore xpack.notification.jira.account.monitoring.secure_url
bin/elasticsearch-keystore xpack.notification.jira.account.monitoring.secure_user
bin/elasticsearch-keystore xpack.notification.jira.account.monitoring.secure_password
bin/elasticsearch-keystore add xpack.notification.jira.account.monitoring.secure_url
bin/elasticsearch-keystore add xpack.notification.jira.account.monitoring.secure_user
bin/elasticsearch-keystore add xpack.notification.jira.account.monitoring.secure_password
--------------------------------------------------

deprecated[The insecure way of storing sensitive data (`url`, `user` and `password`) in the configuration file or the cluster settings is deprecated]
[WARNING]
======
Storing sensitive data (`url`, `user` and `password`) in the configuration file or the cluster settings is insecure and has been deprecated. Please use {es}'s secure {ref}/secure-settings.html[keystore] method instead.
======

To avoid credentials that transit in clear text over the network, {watcher} will
reject `url` settings like `http://internal-jira.elastic.co` that are based on
Expand Down

0 comments on commit 39756fa

Please sign in to comment.