I have carried out below steps:
- set up AWS instance through Console
- Create Access Keys and downloaded the rootkeys.csv file
- On Linux machine, installed Python 3.6
- Installed AWS CLI tool
- Configured AWS CLI on linux machine using the command - aws configure
After all these steps, when I run the command - aws ec2 describe-instances, I was encountering the error "AWS was unable to validate credentials".
I verified the AWS credentials file, all the details like AWS Access ID and AWS Secret Key are all present.
To resolve this error, I had to explicitly export the variables AWS_ACCESS_KEY and AWS_SECRET_KEY.
After this I am able to connect to the running instances from AWS CLI.
The Information which you provided is very much useful on AWS CLI - Error - AWS was not able to validate credentials
ReplyDeleteThe Information which you provided is very much useful
ReplyDeleteIELTS Coaching in chennai
German Classes in Chennai
GRE Coaching Classes in Chennai
TOEFL Coaching in Chennai
spoken english classes in chennai | Communication training
Outstanding blog thanks for sharing such wonderful blog with us ,after long time came across such knowlegeble blog. keep sharing such informative blog with us.
ReplyDeletepython Training in chennai
python Course in chennai