Merge pull request #6377 from EximChua/patch-1

Update info on format of the credentials file
This commit is contained in:
M. Marsh 2018-06-15 11:30:13 -07:00 committed by GitHub
commit 32fd89a4a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,14 @@ credentials inline, or in the environment, Packer will check this location. You
can optionally specify a different location in the configuration by setting the
environment with the `AWS_SHARED_CREDENTIALS_FILE` variable.
The format for the credentials file is like so
```
[default]
aws_access_key_id=<your access key id>
aws_secret_access_key=<your secret access key>
```
You may also configure the profile to use by setting the `profile`
configuration option, or setting the `AWS_PROFILE` environment variable: