If one uses more than one AWS account it's absolutely necessary to configure profiles for AWS CLI. The configuration is made of two files: .aws/credentials and .aws/config. The former contains access keys to AWS accounts - you should never add the file to the version control, the latter contains additional configuration and can be versioned.

Separate credentials for each account

The typical case is the one with separate credentials for...

Read More