Merge pull request #1613 from skippy/update-aws-ec2-docs

[Docs] aws-ec2 -- note IAM action requirement
This commit is contained in:
Jeff Mitchell 2016-07-18 10:40:38 -04:00 committed by GitHub
commit f16992d6fa

View File

@ -272,7 +272,7 @@ $ vault auth-enable aws-ec2
#### Configure the credentials required to make AWS API calls
Note: the client uses the official AWS SDK and will use environment variable or
IAM role-provided credentials if available.
IAM role-provided credentials if available. The AWS credentials used require the IAM action `ec2:DescribeInstance` to be allowed.
```
$ vault write auth/aws-ec2/config/client secret_key=vCtSM8ZUEQ3mOFVlYPBQkf2sO6F/W7a5TVzrl3Oj access_key=VKIAJBRHKH6EVTTNXDHA