AWS Error Windows CLI

Posted on 2016-09-03
Last Modified: 2016-11-05

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.

Question by:Eric Donaldson
  • 2
LVL 33

Assisted Solution

shalomc earned 125 total points (awarded by participants)
ID: 41783410
Does the CLI work with a AWS credentials file?

Accepted Solution

Travis Weber earned 250 total points (awarded by participants)
ID: 41786957
That error is usually associated with invalid access keys.     Do any other commands work using those access keys?

Assisted Solution

by:Steeve Roucaute
Steeve Roucaute earned 125 total points (awarded by participants)
ID: 41789614
It could also be related to the permissions of the user who has the Access Key attached. Make sure that it has admin access.
LVL 33

Expert Comment

ID: 41819420
No response from author

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
plink 5 75
Different synchronization delay settings for individual Insert/Update/Delete operations? 7 66
AWS vpc peering connection 1 48
Hosted Server or Cloud Storage 12 61
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Or at least that’s the word according to a new blog from Tech Target on AWS’s new Managed Services (MS) offering. According to the blog, AWS is launching their AWS MS program to expedite the adoption of cloud by Fortune 1000 and Global 2000 companie…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
Sending a Secure fax is easy with eFax Corporate ( First, just open a new email message. In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question