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 Answers
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
EXPERT
answered a year ago
EXPERT
reviewed a year ago
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
answered a year ago
profile picture
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions