Solved

AWS Error Windows CLI

Posted on 2016-09-03
4
45 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 33

Assisted Solution

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

Accepted Solution

by:
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?
1
 
LVL 1

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.
0
 
LVL 33

Expert Comment

by:shalomc
ID: 41819420
No response from author
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

729 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