How to get AWS access keys

Jan Cibulka
3 min readSep 1, 2023

--

This is a step-by-step guide on getting the AWS access keys so that you can use Amazon APIs in your project. So let’s get AWS security credentials for your project now.

Get AWS security credentials (access keys)

Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/

In the navigation pane, choose Users under Access management. Then click on Add users.

Choose the user name. It’s just for your reference. Then click on the Next button.

Choose the Attach policies directly option.

For example, if we were building a transcription app with translation and text-to-voice capabilities, we would need access to three AWS services (you select your policies accordingly to your needs). So for our example case, we would filter the policies by transcribe, Polly, and translate keywords (set the connector to OR instead of AND to see results for all three keywords at once).

In the results area below the search, mark these policies:

  • AmazonPollyFullAccess
  • TranslateFullAccess
  • AmazonTranscribeFullAccess

This is how it would look:

Confirm your selection at the bottom of the page and proceed to the review step. Nothing to do here, just confirm again by clicking on the Create user button.

Once the user is created, click on its name. In my case, the user name is MyApp.

On the user page, switch to the Security credentials tab. Scroll down to find a button named Create access key and click on it.

Choose an option that is relevant to your project. For this tutorial series (building a transcription app), we will choose the option Application running outside of AWS. Confirm at the bottom of the page and proceed to the next step.

Setting a description tag is optional, we can just skip it and click directly on the Create access key button.

And finally, you are provided with the access keys.

Note down both:

  • Access key
  • Secret access key

Finally, for using AWS APIs, you will also need to specify a region. You will find a table listing all available regions in the official documentation. For the AWS APIs, you will need to pick one region from the column Region, for example: eu-central-1.

Conclusion

This short article showed how to create AWS access keys so that you can use these security credentials to access Amazon APIs.

If you found it helpful, please click the clap 👏 button. Also, feel free to comment! I’d be happy to help :)

--

--