AWS CLI Basics — Part 3
Introduction
In previous posts on this topic, we learned how to install, configure and use AWS CLI. We also learned how to create a static S3 based website using AWS CLI. Today’s we’ll learn few basics about IAM Users, Groups and permission management.
Creating IAM Users is a very common task, however managing each individual user’s permission is a tedious task, that’s where a user group can simplify a lot.
In nutshell, we can create user group(s) and configure permissions for that group. Then we can add many users to the group and this way, all users in the group will have those permissions.
We can create many groups e.g. admins, devs, operators, managers etc. Let’s start by first creating an IAM User using CLI.
Creating an IAM User
The following create-user command will create a user ‘dev3’:
aws iam create-user --user-name dev3
Here is the output of that command:
If later, you want to see that user information again, you can use the get-user command:
aws iam get-user --user-name dev3
and here is the output of command execution: