This document provides step-by-step instructions on how to create an access key and secret key for an IAM user in AWS (Amazon Web Services).
Prerequisites:
Before proceeding with the instructions, ensure that you have:
An AWS account with administrative privileges.
Access to the AWS Management Console.
Step 1:
Sign in to the AWS Management Console.
Enter your AWS account credentials (email address and password) and click the "Sign In" button.
Step 2:
Access the IAM service.
After successfully signing in, you will be redirected to the AWS Management Console.
In the search bar at the top of the console, type "IAM" and select "IAM - Identity and Access Management" from the search results.
Step 3:
Select the IAM User.
In the IAM dashboard, locate and click on the "Users" link in the left-hand menu.
From the list of IAM users, click on the desired user for whom you want to create the access key and secret key.
Step 4:
Create an Access Key and Secret Key.
Within the IAM User details page, click on the "Security credentials" tab.
Under the "Access keys" section, click on the "Create access key" button.
Step 5:
Download Access Key and Secret Key.
A dialog box will appear with the newly generated access key and secret key.
Click on the "Download .csv file" button to save the keys to your local system.
It is essential to securely store the access key and secret key as they provide programmatic access to your AWS resources.
Do not share the access key and secret key or upload them to any public repositories.
Note: Once you leave the confirmation dialog box, you will not be able to retrieve the secret key again. However, you can generate a new access key if needed.
Congratulations! You have successfully created an access key and secret key for the IAM user. Remember to store the downloaded access key and secret key file in a secure location. These credentials will be required when using AWS SDKs, CLI, or other tools to access AWS resources programmatically. For any issues or further assistance, refer to the official AWS documentation or contact AWS Support.