Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

AWS Error Windows CLI

Posted on 2016-09-03
4
Medium Priority
?
68 Views
Last Modified: 2016-11-05
Hi,

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
ca32f-1524-4ca2-bb4b-58e4a211747e)

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

Thanks
0
Comment
Question by:Eric Donaldson
  • 2
4 Comments
 
LVL 33

Assisted Solution

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

Accepted Solution

by:
Travis Weber earned 1000 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?
1
 
LVL 1

Assisted Solution

by:Steeve Roucaute
Steeve Roucaute earned 500 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.
0
 
LVL 33

Expert Comment

by:shalomc
ID: 41819420
No response from author
0

Featured Post

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Question has a verified solution.

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

As managed cloud service providers, we often get asked to intervene when cloud deployments go awry. Attracted by apparent ease-of-use, flexibility and low computing costs, companies quickly adopt leading public cloud platforms such as Amazon Web Ser…
The article lists top benefits which gaming industry bestows with the assistance of cloud computing technology.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This Micro Tutorial will explain how to export DynamoDB tables in Amazon Web Services.

885 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