Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AWS Error Windows CLI

Posted on 2016-09-03
4
Medium Priority
?
57 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 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

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

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

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.
You deserve ‘straight talk’ from your cloud provider about your risk, your costs, security, uptime and the processes that are in place to protect your mission-critical applications.
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…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

715 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