How do I see the Access Key/Secret Access Key

0

Hi,

In my Amazon S3, I remember setting up the Access Key/ Secret Access Key. I'm trying to look for it in the console but I can't find it.

I see the Buckets but where is the Access Key/ Secret Access Key located?

2 Respuestas
1

Access key and secret access key are not visible from the S3 screen.
Check from the IAM screen.
You can also check the secret access key at the time of creation, or check the contents of the CSV file that you can download when you create it.
If you have access to the AWS CLI, you can use the following command to check the access key and secret access key set for a user.

aws configure get aws_access_key_id
aws configure get aws_secret_access_key
profile picture
EXPERTO
respondido hace un año
EXPERTO
revisado hace un año
1

To expand on the answer from Riku_Kobayashi - you can retrieve your AccessKey from your IAM user profile in the IAM console, however there is no way to retrieve your SecretKey if you did not save it somewhere at the time you created your AccessKey.

The only option you have here is to create a new AccessKey - you can have up to two active AccessKeys, and you can disable (or leave active) the existing one prior to deleting it if you think it might still be in use, until you are able to replace it with the new AccessKey to avoid impact to applications that might be using it. [1]

Please note, where possible, our best practice is to use temporary credentials [2] rather than long-lived AccessKeys.

[1] https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html [2] https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-workloads-use-roles

AWS
Greg_H
respondido hace un año
profile picture
EXPERTO
revisado 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