From eaa52b0e35e88e78b68d7e0d185dc67879ab4c55 Mon Sep 17 00:00:00 2001 From: kaiyan-sheng Date: Tue, 15 Sep 2020 07:27:44 -0600 Subject: [PATCH] Clarify use for shared_credential_file (#20929) (#21082) (cherry picked from commit cbed0d6a528085955cd7c78a1cb76a2e78f66e41) Co-authored-by: Kostas Botsas --- x-pack/libbeat/docs/aws-credentials-config.asciidoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/libbeat/docs/aws-credentials-config.asciidoc b/x-pack/libbeat/docs/aws-credentials-config.asciidoc index be536f433ab9..db661dcc6279 100644 --- a/x-pack/libbeat/docs/aws-credentials-config.asciidoc +++ b/x-pack/libbeat/docs/aws-credentials-config.asciidoc @@ -38,7 +38,8 @@ given, the default profile will be used. `shared_credential_file` is optional to specify the directory of your shared credentials file. If it's empty, the default directory will be used. In Windows, shared credentials file is at `C:\Users\\.aws\credentials`. -For Linux, macOS or Unix, the file is located at `~/.aws/credentials`. Please see +For Linux, macOS or Unix, the file is located at `~/.aws/credentials`. When running as a service, +the home path depends on the user that manages the service, so the `shared_credential_file` parameter can be used to avoid ambiguity. Please see https://docs.aws.amazon.com/ses/latest/DeveloperGuide/create-shared-credentials-file.html[Create Shared Credentials File] for more details.