IAM Users ,Groups and Policies
Hello Friends, In this post, I would like to write more about IAM and what it is in simple words. IAM stands for Identity and Access Management. It is one of the global services in the AWS console. User management in AWS is done through the IAM section. When we create an AWS account, our root account is created by default which we should not be used and share with our colleagues.
Instead, we can create users in IAM and group them as well. Groups only contain users and not the other groups. Users can belong to several groups.
IAM Policy
It's a JSON document that consists of a set of statements as given below. Policy document defines set of permissions for users.
Version
Statement
Sid: Identifier of statement. it's optional.
Effect: Allow/Deny. By default this is Deny. Action can be allowed or denied for specified resources.
Action: Its API Action for example S3 has different APIs like GetObject, PutObject etc.
Resource: Actual list of resources that will affect by the action.
Condition: It's an optional element and decided when actions are to be applied.
Security
Keep your passwords for higher security of your account. Allow IAM users to change their password and also set some expiration so that users can change it overtimes. As a rule of thumb don't reuse the same password.We can set Multi-Factor Authentication for better security so that the account won't be compromised even if the password is stolen or hacked.
This is all about IAM users and groups in simple and easy language. Feel free to post your questions if any in the comments below. Thanks!!!
Comments
Post a Comment