aws s3: AWS Access Key Id you provided does not exist in our records

0

Hello,
When doing the following step:
$ aws s3 mb s3://<bucket-name> # Step 9
I am having the following error:
"make_bucket failed: s3://testing.f1.cl An error occurred (InvalidAccessKeyId) when calling the CreateBucket operation: The AWS Access Key Id you provided does not exist in our records."
I don't get what I am missing, the 'aws configure' went fine and I can see my Access Key ID and my Secret Access Key set correctly in us-east-1 region.
Any hint on what could be wrong in my settings?
Thanks

preguntada hace 7 años14823 visualizaciones
3 Respuestas
1

Hi Richard,

Please go to your ~/.aws/credentials file and compare the aws_access_key_id with the key id generated for your account.

If everything appears to be correct, please try regenerate a new set of keys.

Thanks,
Winefred

AWS
respondido hace 7 años
profile picture
INGENIERO DE SOPORTE
revisado hace 2 años
1

Ok, I just had to run again the 'aws configure' with the new keys...
As a note, my previous key was no longer in my aws account which could explain the error message.
Thanks

respondido hace 7 años
profile picture
INGENIERO DE SOPORTE
revisado hace 2 años
0

Hi Winefred,
Thanks for your quick reply, everthing appears to be correct, so I will try to regenerate a new set of keys but just to understand the consequences of new keys, does it mean I will have to recreate a new instance or should I be able to edit the keys in the settings if so could you guide me in the steps to do so (not yet familiar with the flow...)?
Thanks

respondido hace 7 años

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