banner

KuchBhiLearning - A free website to learn and code

This is a good learning site. This contains details of cloud computing, AWS, AWS-CDK, AWS-SDK codes and examples including S3, Redis, lambda, api-gateway, cloudfront, cloudformation.

Create IAM Role

 AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources.

IAM Features

  • Shared access to your AWS account.
  • Granular Permissions.
  • Multi-Factor Authentication.
  • Identity Federation.
There are few more features. Check AWS.

High level workflow of IAM.


Create IAM User

Login to AWS and then navigate to IAM.


Click on Users and then Add users.


Provide the UserName and select the AWS Access type.



Click on next.


There are 3 ways to set permission.

  • Add User to group.


Create a group by selecting AdministratorAccess or if we have any specific use case we can search for that policy and create the group.

  • Copy permissions from existing user
    Search for specific user that you are looking for.

  • Attach existing policies directly
    You can directly search for the policy and attach it.
Tags are optional so moving on for now.

My current configurations looks something like this.


Then click on Create User.


This is most important, you will receive a Access Key ID and Secret Access Key.

Secret Access Key is one time generated, so keep this at a safe place.

To connect to AWS Configure AWS Profile.

No comments:

Post a Comment

If you have any doubts, Please let me know

Copyright 2022, KuchBhiLearning - A free website to learn and code. All rights Reserved.
| Designed by Yaseen Shariff