How do I create an AWS access key?

Last updated: 2022-01-06

I need an AWS access key to allow a program, script, or developer to have programmatic access to the resources on my AWS account.


An access key grants programmatic access to your resources. This means that you must guard the access key as carefully as the AWS account root user sign-in credentials.

It's a best practice to do the following:

  1. Create an IAM user, and then define that user's permissions as narrowly as possible.
  2. Create the access key under that IAM user.

For more information, see What are some best practices for securing my AWS account and its resources?

Did this article help?

Do you need billing or technical support?