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 個答案
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
專家
已回答 1 年前
專家
已審閱 1 年前
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
已回答 1 年前
profile picture
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南