Receiving message (AuthFailure) message

0

I am going through how to set the AWS CLI and have typed in my access key ID, secret access Key, default region and output format. When I run aws ec2 describe-vpcs, I receive the message An error occurred (AuthFailure) when calling the DescribeVpcs operation: AWS was not able to validate the provided access credentials What exactly am I doing wrong?

1개 답변
0

Hey , Could you confirm where you are getting the access key ID, secret access Key from are you copying it from the IAM console>Users>Security credentials ?

If you are, make sure to copy the right data, not including spaces when you paste on the terminal. There is an option to download the credentials to your local machine and copy from there.

Take great care if you opt to download the credentials, and protect them from being accessed by anyone else. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html

profile pictureAWS
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠