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 Respuesta
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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas