How to create AWS IAM User and IAM User Secrets
Hey,
My name is Sarvar, and I am a highly skilled Senior Developer at Luxoft India. With years of experience working on cutting-edge technologies, I have honed my expertise in Cloud Operations (Azure and AWS), Data Operations, Data Analytics, and DevOps. Throughout my career, I’ve worked with clients from all around the world, delivering excellent results, and going above and beyond expectations. I am passionate about learning the latest and treading technologies.
Today, we’ll look at the complete, step-by-step procedure for creating a user on the Amazon cloud using the IAM service. Although it’s a simple process, you still need to follow all the instructions. After creating our user, we will produce security credentials for that user so they can access the Amazon Console programmatically on any CLI, whether it is Windows or Linux. With those credentials, we can access the AWS Service from anywhere. Now let’s get started.
Lets start….
Step 1:
When you are logged into the AWS console, you may view the dashboard as shown in the image below. You may view all of the services, billing information, and account information here.

Here we are searching the IAM in the search bar so it will land you to the IAM dashboard.

Step 2:
You will arrive to the IAM service dashboard after typing IAM into the search bar. As a result, you can see a variety of options here, including user groups, users, rules, policies, and identity providers. On the left, you’ll find the two main options, access control and access reports. You can therefore see the users after clicking on access management. In order to create the IAM user, we are using this option.


When you click on the users on the left, the user’s interface will appear as seen below.

Step 3:
You may see the current users with information like when their most recent activity occurred and the age of their passwords after you click on the users option. If you are new to this portal you will not be able to see any existing users. With this IAM service, we are creating IAM users. To do this, simply select the “Add User” option. This will take you to a new page where you must enter the necessary information to create an user.

If you click the add users button, an interface similar to this one will appear with a request for user information. I’m providing a sample username here for testing purposes, so don’t click on any additional options. Even so, it is optional, so leave it as is and click the next.

We are now at the stage where we must assign permissions to the user that we are currently creating. There are three options available to us, the first of which is to add the user to an existing group. Hence, the user will be able to access all of that group’s permissions. The second choice, copy permissions, is a recent addition that copies the permissions of current users. The final choice is to attach policies directly to the user. So, with this option, we can directly attach permissions to the user.

So as you are able to see permission boundary, so it’s optional but it will provide the list of permission policies. We can directly attached to the user. So as you are able to see in the below snap so it’s optional we are just keeping this option and we are just clicking on the next.

The final option for creating any user is to review and create; in this case, you will see the user data, tags, and a summary of all permissions. If everything appears to be as expected, simply click on “Create User” to create your IAM user.

As you can see, our user has been successfully created, and the user demo has been created as shown below.

Step 4:
In order to create a security credential for the user, we need to click on the user after which you only need to click on the security credential as shown below. From there, we can look into how to create a security credential for the user.

Once you’ve selected the security credential, all you need to do is scroll down to the Access Key option. From there, you’ll be able to see the Create Access Key option; simply select it to proceed to the following page. From there, we will create the user’s access key and secret key.

There are three steps to establishing an axis key and secret key. We must therefore set a description tag for the key, as you can see below. In order to create access, I am here providing the value demo for the description tag.

If you click the “create access key” button, you will be able to view both the access key and the secret key, indicating that the access key has been created successfully. You must download a .CSV file because it is necessary for setting up the AWS CLI.

You only need to click on that user after creating the access key. You can see our access if you scroll down to the access key. The key is present with the active state shown below.

Conclusion:
The user has been successfully created in an Amazon IAM service, and the access key and secret key for the same user have also been generated. Thus, we are currently configuring an Amazon CLI to use this credential to programmatically access the AWS console from any CLI.
— — — — — — — —
Here is the End!
Thank you for taking the time to read my article. I hope you found this article informative and helpful. As I continue to explore the latest developments in technology, I look forward to sharing my insights with you. Stay tuned for more articles like this one that break down complex concepts and make them easier to understand.
Remember, learning is a lifelong journey, and it’s important to keep up with the latest trends and developments to stay ahead of the curve. Thank you again for reading, and I hope to see you in the next article!
Happy Learning!