In this post, we will explain how to retrieve Amazon Access Key ID and AWS 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. (Learn more about AWS IAM identities in our article.)
Below, please find instructions on how to retrieve root access keys and IAM access keys.
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.
2 Click the Continue to Security Credentials button.
3 Expand the Access Keys (Access Key ID and Secret Access Key) option. You will see the list of your active and deleted access keys.Note: You cannot retrieve the existing secret key. You can see the AWS secret access 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.
5 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. Attention! 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 AWS secret access 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.
2 Click the Get Started with IAM Users button.
3 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.
4 To review the IAM access keys, click on a particular user.
5 Under Security Credentials, you will see a list of Access Keys for the IAM user. Note: 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. Attention! 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.
Other information
See why Amazon's EC2 and S3 are fundamentally different types of service, Exchange Online vs. Exchange On-Premises, immutable backups, what is RMM, how to resize partitions on Linux, an overview of SQL server backup types, cost-effective backup solutions and what is backup software, to help you make an informed decision.