Configure AWS CLI for IAM user
- Make sure you have AWS CLI Installed on your system
- Also you have created an IAM user with Programmatic Access type
- Check if you attached permission to IAM user
- Open cmd in your windows machine
Typeaws configure
Enter your Access Key ID, hit enter on keyboard
Enter your Secret access key, hit enter on keyboard
Enter default region, for this lab put us-east-1,hit enter on keyboard > again enter leave last on as blank
- To check if the AWS CLI is configured properly, type
aws s3 ls
this will list all your buckets get previously via cli - Similarly to configure multiple IAM programmatical user you can run following command
aws configure --profile NAME_OF_CHOICE
and follow the above steps