Skip to content

Commit 39756fa

Browse files
authored
[DOCS] Correct keystore commands for Email and Jira actions in Watcher (#40417) (#40612)
1 parent 287e334 commit 39756fa

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

x-pack/docs/en/watcher/actions/email.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ In order to store the account SMTP password, use the keystore command
325325

326326
[source,yaml]
327327
--------------------------------------------------
328-
bin/elasticsearch-keystore xpack.notification.email.account.gmail_account.smtp.secure_password
328+
bin/elasticsearch-keystore add xpack.notification.email.account.gmail_account.smtp.secure_password
329329
--------------------------------------------------
330330

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

364364
[source,yaml]
365365
--------------------------------------------------
366-
bin/elasticsearch-keystore xpack.notification.email.account.outlook_account.smtp.secure_password
366+
bin/elasticsearch-keystore add xpack.notification.email.account.outlook_account.smtp.secure_password
367367
--------------------------------------------------
368368

369369

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

401401
[source,yaml]
402402
--------------------------------------------------
403-
bin/elasticsearch-keystore xpack.notification.email.account.ses_account.smtp.secure_password
403+
bin/elasticsearch-keystore add xpack.notification.email.account.ses_account.smtp.secure_password
404404
--------------------------------------------------
405405

406406
NOTE: You need to use your Amazon SES SMTP credentials to send email through

x-pack/docs/en/watcher/actions/jira.asciidoc

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,15 @@ Jira account you need to specify (see {ref}/secure-settings.html[secure settings
109109

110110
[source,yaml]
111111
--------------------------------------------------
112-
bin/elasticsearch-keystore xpack.notification.jira.account.monitoring.secure_url
113-
bin/elasticsearch-keystore xpack.notification.jira.account.monitoring.secure_user
114-
bin/elasticsearch-keystore xpack.notification.jira.account.monitoring.secure_password
112+
bin/elasticsearch-keystore add xpack.notification.jira.account.monitoring.secure_url
113+
bin/elasticsearch-keystore add xpack.notification.jira.account.monitoring.secure_user
114+
bin/elasticsearch-keystore add xpack.notification.jira.account.monitoring.secure_password
115115
--------------------------------------------------
116116

117-
deprecated[The insecure way of storing sensitive data (`url`, `user` and `password`) in the configuration file or the cluster settings is deprecated]
117+
[WARNING]
118+
======
119+
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.
120+
======
118121

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

0 commit comments

Comments
 (0)