Skip to content

Commit 7af1316

Browse files
philwillsdadoonet
authored andcommitted
Elaborate on how to specify AWS credentials
Closes #85.
1 parent f257134 commit 7af1316

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ Please read documentation relative to the version you are using:
2323

2424
## Generic Configuration
2525

26-
The plugin will automatically use the instance level security credentials (as of 1.7.0), but they can be provided explicitly using `cloud.aws.access_key` and `cloud.aws.secret_key`:
27-
26+
The plugin will default to using [IAM Role](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) credentials
27+
for authentication. These can be overridden by, in increasing order of precedence, system properties `aws.accessKeyId` and `aws.secretKey`,
28+
environment variables `AWS_ACCESS_KEY_ID` and `AWS_SECRET_KEY`, or the elasticsearch config using `cloud.aws.access_key` and `cloud.aws.secret_key`:
29+
2830
```
2931
cloud:
3032
aws:

0 commit comments

Comments
 (0)