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 Risposta
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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande