Skip to main content

AWS Command Line Interface


Credential Config

Create a credentials configuration file ~/.aws/credentials. Include the profile name, access id and key, then you may use a specific profile to access AWS resources with --profile option.

See Named Profiles for more details.

Sample Credentials Format

aws_access_key_id = xxxxxxxxxxxxx
aws_secret_access_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx