Skip to content

How to create a IAM user in AWS

New Course Coming Soon:

Get Really Good at Git

In this tutorial I will explain how you can create a user with programmatic access in AWS through the IAM (Identity and Access Management) panel.

If you don’t have an AWS account yet, start here:

Once you have an account set up and you’re logged in to AWS, click your name on top and then “My Security Credentials”

On the sidebar click “Users”, and “Add user”. Enable “Programmatic access”.

Move to the next screen via the buttons you find in the bottom of the page (“Next: Permissions”).

Click the “Attach existing policies directly”:

In this example I create a user that can access S3 to upload files.

Type “S3” in the filter to show the S3 policies

Select the AmazonS3FullAccess permission:

Once the user is created, you’ll have a pair of access key ID and secret access key.

Copy those to your .env file in the project you have to use as environment variables.

Are you intimidated by Git? Can’t figure out merge vs rebase? Are you afraid of screwing up something any time you have to do something in Git? Do you rely on ChatGPT or random people’s answer on StackOverflow to fix your problems? Your coworkers are tired of explaining Git to you all the time? Git is something we all need to use, but few of us really master it. I created this course to improve your Git (and GitHub) knowledge at a radical level. A course that helps you feel less frustrated with Git. Launching Summer 2024. Join the waiting list!

Here is how can I help you: