AWS Profile Setup Guide
Install AWS CLI
To install aws cli, follow the instructions in this doc.
Configure AWS Credentials
Login to AWS Console
Click on your username at top right corner and click on Security Credentials
Under Access keys click on Create access key --> Choose Command Line Interface (CLI) --> add some description for it -> Create
Either copy Access key ID and Secret access key displayed on the screen or download csv file.
Configure AWS Credentials
aws configure --profile <profile-name>
For example:
aws configure --profile nw-tech
Fill the prompts, (use below mentioned values for region, output format)
AWS Access Key ID [None]: AWS Secret Access Key [None]: Default region name [None]: ap-south-1 Default output format [None]: json
Now you can verify your AWS configuration using below command.
aws sts get-caller-identity --query 'Arn' --output text --profile <profile-name>
You'll get output similar to below (ending with your username).
arn:aws:iam::1111111111:user/dillip.chowdary
Last updated