Skip to content

Commit

Permalink
Clarify use for shared_credential_file (#20929) (#21082)
Browse files Browse the repository at this point in the history
(cherry picked from commit cbed0d6)

Co-authored-by: Kostas Botsas <kostas.botsas@elastic.co>
  • Loading branch information
kaiyan-sheng and kostasb committed Sep 15, 2020
1 parent 48bd77b commit eaa52b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/libbeat/docs/aws-credentials-config.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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\<yourUserName>\.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.

Expand Down

0 comments on commit eaa52b0

Please sign in to comment.