How to configure AWS CLI
Author: Venkata Sudhakar
The below example shows how to configure AWS CLI with your User account Access key ID and Secret Access Key. As a first step create a User account in Identity and Access Management (IAM) and associate required Permissions. Next go to 'Security Credentials' tab and generate credentials to be used with AWS CLI.
AWS CLI stores above configuration in two default configuration files ~/.aws/credentials and ~/.aws/config as shown below,