note in the documentation support for AWS_SHARED_CREDENTIALS_FILE

This commit is contained in:
Stephen Caldwell 2016-11-11 12:07:51 -08:00
parent 4969c74a17
commit 8a1d52bdaf

View File

@ -81,7 +81,7 @@ Default region name [None]: us-west-2
Default output format [None]: ENTER
```
Credentials are stored in INI format in `~/.aws/credentials`, which you can edit directly if needed. Read more about that file in the [AWS documentation](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files)
Credentials are stored in INI format in `~/.aws/credentials`, which you can edit directly if needed. You can change the path to the credentials file via the AWS_SHARED_CREDENTIALS_FILE environment variable. Read more about that file in the [AWS documentation](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files)
You can even set up different profiles for different accounts, which can be used by Serverless as well. To specify a default profile to use, you can add a `profile` setting to your `provider` configuration in `serverless.yml`: