Generate Access Key and Secret Access Key using AWS IAM

Muhammed Aslam
3 min readOct 18, 2023
Photo by Markus Spiske on Unsplash

Certainly! Here’s a step-by-step navigation guide for creating an Access Key and obtaining the Secret Access Key for an IAM (Identity and Access Management) user in the AWS Management Console:

Certainly! Here’s a step-by-step navigation guide for creating an Access Key and obtaining the Secret Access Key for an IAM (Identity and Access Management) user in the AWS Management Console:

1.Sign In to AWS Console:

. Open your web browser and navigate to the AWS Management Console: https://aws.amazon.com/

. Click the “Sign In to the Console” button and log in with your AWS account credentials.

2. Access the IAM Dashboard:

  • Once you’re logged in, you’ll be in the AWS Management Console. Search for “IAM” in the search bar or locate the “Security, Identity, & Compliance” section and click on “IAM” to access the IAM dashboard.Select the IAM User:
  • In the left navigation pane, click on “Users” to view the list of IAM users in your account.
  • Select the IAM user for which you want to create an Access Key and Secret Access Key by clicking on their username.
  • In the “User details” page for the selected IAM user, click on the “Security credentials” tab.

3. create access key and secret access key:

  • In the “Access keys” section, you will see a list of existing access keys if any exist.
  • To create a new Access Key, click the “Create access key” button.

5. View Access Key and Secret Access Key:

You can see the Access Key ID and Secret Access Key here. If needed, you can also regenerate them or download the key information as a CSV file.

. select CLI(command line interface) to access your aws account in CLI

. we can add discription tag value what our needs

. select the “create access key”

6. Download Access Key Details (Optional):

  • If you want to download the Access Key details, you can click “Download .csv file” to save the Access Key ID and Secret Access Key in a CSV file.
  • It’s crucial to save the Secret Access Key in a secure location. You will need both the Access Key ID and Secret Access Key for programmatic access to AWS resources.

7. Complete the Process:

  • Once you’ve copied or downloaded the Access Key and Secret Access Key, click the “Close” button to exit the dialog.

That’s it! You’ve successfully created an Access Key and obtained the Secret Access Key for an IAM user in the AWS IAM console. Keep these keys secure, as they provide programmatic access to your AWS resources, and be mindful of best practices for access key management.

--

--