AWS Error Windows CLI


I am receiving this error message when using ec2-describe-regions.

Client.AuthFailure: AWS was not able to validate the provided access credentials
 (Service: AmazonEC2; Status Code: 401; Error Code: AuthFailure; Request ID: 6c9

I downloaded the keys from the account and used under environment variables to connect.

Eric DonaldsonAsked:
Who is Participating?
Travis WeberConnect With a Mentor Service Delivery ManagerCommented:
That error is usually associated with invalid access keys.     Do any other commands work using those access keys?
shalomcConnect With a Mentor CTOCommented:
Does the CLI work with a AWS credentials file?
Steeve RoucauteConnect With a Mentor Director of Strategic ProjectsCommented:
It could also be related to the permissions of the user who has the Access Key attached. Make sure that it has admin access.
No response from author
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.