← flaviocopes.com

How to create a IAM user in AWS

Published Apr 14 2022

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: https://aws.amazon.com.

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.

Check out my books 👇🏼

© 2023 Flavio Copes Flavio Copes using Notion to Site Notion to Site

Interested in solopreneurship?