Skip to main content

How to Create AWS Access and Secret Key for BYOAWS

To create your AWS Access and Secret Key, follow these steps.
  • Step 1:- Use your AWS account ID or account alias, your IAM user name, and your password to sign in to the IAM console
  • Step 2:- In the navigation bar on the upper right, choose your user name, and then choose Security credentials.

Instances-EC2-Management-Console (1).png

  • Step 3:- If you want to create the AWS Access and Secret credentials with the root user, skip to step 4; otherwise, click Users on the left side of access management and then Add users.

image.png

Enter your AWS Account access user name and click Next, Next, Next and Create User to proceed.

image.png

After clicking the Create User button, you will be taken to the user list. Choose your created user name from the user list and click on it.

image.png


Navigate to Security Credentials under User Details.

image.png


  • Step 4:- Select Create access key from the Access keys section. If you already have two access keys, this button is disabled, and you must delete one before creating a new one.

image.png

    • On the Access key best practices & alternatives page, choose your use case to learn about additional options which can help you avoid creating a long-term access key. If you determine that your use case still requires an access key, choose Other and then choose Next.
    • (Optional) Set a description tag value for the access key. This adds a tag key-value pair to your IAM user. This can help you identify and rotate access keys later. The tag key is set to the access key id. The tag value is set to the access key description that you specify. When you are finished, choose to Create access key.

For Non-Root Users:-  Choose Command Line Interface as an alternative and check the box, then click Next and Create Access Key.

image.png

 For Root User:- Check the box and click Create Access Key.

Screenshot 2023-02-20 122937.png

  • Step 5:- On the Retrieve access keys page, choose either Show to reveal the value of your user's secret access key, or Download .csv file. This is your only opportunity to save your secret access key. After you've saved your secret access key in a secure location, choose Done.

IAM-Management-Console.png


Follow these steps if you already have an access key and want to activate it instead of creating a new one.
  • In the Access keys section, find the key to activate.

image.png

  • To activate the key, go to Actions and select Activate.

image.png


You must grant Administration access to your keys after creating a key. Visit our documentation to grant Ec2 administration access to keys.