Skip to main content

AWS Command Line Interface

AWS CLI

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

[msc-s3-readonly]
aws_access_key_id = xxxxxxxxxxxxx
aws_secret_access_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx