Solved

AWS Error Windows CLI

Posted on 2016-09-03
4
49 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint …
On Feb. 28, Amazon’s Simple Storage Service (S3) went down after an employee issued the wrong command during a debugging exercise. Among those affected were big names like Netflix, Spotify and Expedia.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

626 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