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

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
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠