AWS的S3服务如何获取Access key ID和Secret access key

In this post, we will explain how to retrieve Amazon Access Key ID and Secret Access Key. These keys allow you to control your AWS account.We'll focus on the following topics:

  • How to Retrieve Root Access Keys
  • How to Retrieve IAM Access Keys

Note: As a best practice, AWS recommends creating an IAM user rather than relying on root access keys. IAM access keys allow you to securely control access to AWS services and resources for your users.

Below, please find instructions on how to retrieve root access keys and IAM access keys.

Test your AWS knowledge CTA

How to Retrieve Root Access Keys

1. Go to Amazon Web Services console and click on the name of your account (it is located in the top right corner of the console). Then, in the expanded drop-down list, select Security Credentials.Retrieving AWS Root Access Key Step 12. Click the Continue to Security Credentials button.Retrieving AWS Root Access Key Step 23. Expand the Access Keys (Access Key ID and Secret Access Key) option. You will see the list of your active and deleted access keys.Retrieving AWS Root Access Key Step 3Note: You cannot retrieve the existing secret key. You can see the secret key only once immediately after creating. So, in order to get a secret key, you will need to create a new one.

4. To generate new access keys, click the Create New Access Key button.Retrieving AWS Root Access Key Step 45. Click Show Access Key to have it displayed on the screen. Note, that you can download it to your machine as a file and open it whenever needed. To download it, just click the Download Key File button.Retrieving AWS Root Access Key Step 5Attention! If you do not write down the key or download the key file to your computer before you press "Close" or "Cancel" you will not be able to retrieve the secret key in future. Then you'll have to delete the keys which you created and start to create new keys.

How to Retrieve IAM Access Keys

1. Go to Amazon Web Services console and click on the name of your account (it is located in the top right corner of the console). In the expanded drop-down list, select Security Credentials. Retrieving AWS IAM Access Key Step 12. Click the Get Started with IAM Users button.Retrieving AWS IAM Access Key Step 23. This will bring you to the IAM Dashboard where you can manage IAM users and their permissions such as creating new IAM users, adding IAM users to the custom groups, granting them a certain level of permissions, etc.Retrieving AWS IAM Access Key Step 34. To review the IAM access keys, click on a particular user. Retrieving AWS IAM Access Key Step 45. Under Security Credentials, you will see a list of Access Keys for the IAM user.Retrieving AWS IAM Access Key Step 5Note: You cannot retrieve the existing secret keys. You can see the secret key only once immediately after creating. So, in order to get a secret key, you will need to create a new one.

6. Click Create Access Key to create a new key. The new access keys will be generated and displayed on the screen. Retrieving AWS IAM Access Key Step 6Attention! If you do not write down the key or download the key file to your computer before you press "Close" or "Cancel" you will not be able to retrieve the secret key in future. Then you'll have to delete the keys which you created start to create new keys.

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值