Skip to content

Commit f1fbb40

Browse files
debadairjrodewig
andauthored
[DOCS] Removed obsolete warning about no way to securely store passwords (#55133)
* [DOCS] Removed obsolete warning about no way to securely store passwords. * Update x-pack/docs/en/watcher/actions/email.asciidoc Co-Authored-By: James Rodewig <[email protected]>
1 parent e185a17 commit f1fbb40

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -252,17 +252,14 @@ messages can contain basic HTML tags. You can control which groups of tags are
252252
allowed by <<email-html-sanitization, Configuring HTML Sanitization Options>>.
253253

254254
You configure the accounts {watcher} can use to send email in the
255-
`xpack.notification.email` namespace in `elasticsearch.yml`.
255+
`xpack.notification.email` namespace in `elasticsearch.yml`.
256+
The password for the specified SMTP user is stored securely in the
257+
<<secure-settings, {es} keystore>>.
256258

257259
If your email account is configured to require two step verification, you need
258260
to generate and use a unique App Password to send email from {watcher}.
259261
Authentication will fail if you use your primary password.
260262

261-
IMPORTANT: Currently, neither Watcher nor Shield provide a mechanism to encrypt
262-
settings in `elasticsearch.yml`. Because the email account credentials appear
263-
in plain text, you should limit access to `elasticsearch.yml` to the user that
264-
you use to run Elasticsearch.
265-
266263
[[email-profile]]
267264
{watcher} provides three email profiles that control how MIME messages are
268265
structured: `standard` (default), `gmail`, and `outlook`. These profiles
@@ -314,7 +311,7 @@ xpack.notification.email.account:
314311
user: <username>
315312
--------------------------------------------------
316313

317-
In order to store the account SMTP password, use the keystore command
314+
To store the account SMTP password, use the keystore command
318315
(see {ref}/secure-settings.html[secure settings])
319316

320317
[source,yaml]
@@ -352,7 +349,7 @@ xpack.notification.email.account:
352349
user: <email.address>
353350
--------------------------------------------------
354351

355-
In order to store the account SMTP password, use the keystore command
352+
To store the account SMTP password, use the keystore command
356353
(see {ref}/secure-settings.html[secure settings])
357354

358355
[source,yaml]
@@ -389,7 +386,7 @@ xpack.notification.email.account:
389386
--------------------------------------------------
390387
<1> `smtp.host` varies depending on the region
391388

392-
In order to store the account SMTP password, use the keystore command
389+
To store the account SMTP password, use the keystore command
393390
(see {ref}/secure-settings.html[secure settings])
394391

395392
[source,yaml]
@@ -432,7 +429,7 @@ xpack.notification.email.account:
432429
it is a good idea to check with your system administrator if you receive
433430
authentication-related failures.
434431

435-
In order to store the account SMTP password, use the keystore command
432+
To store the account SMTP password, use the keystore command
436433
(see {ref}/secure-settings.html[secure settings])
437434

438435
[source,yaml]

0 commit comments

Comments
 (0)