IAM & AWS CLI Flashcards
IAM =
Identity And Access Management - Global service
Do users have to belong to a group?
No. But it’s not best practice
Should you use the root account that is created by default?
No.
Users are people within your organization, and can be grouped. True or False.
True
Groups can only contain users, not other groups?
True
Users or Groups are assigned JSON documents called?
Policies
What do policies do?
They define the permissions of the users
What is the “least privilege principle”?
don’t give more permissions than a user needs
How does a User inherit a policy?
Attach a policy to that user’s group.
Who can an inline policy?
Individual users.
Features:
- set a minimum password length
- Require specific character types:
- including uppercase letters
- lowercase letters, number, non-alphanumeric characters
- Allow IAM users to change their own passwords
- Require users to change their password after some time (password expiration)
- Prevent password re-user
Password policies that can be set.
Three ways to access AWS?
- AWS Management Console (protected by password + MFA)
- AWS Command Line Interface (CLI): protected by access keys
- AWS Software Developer Kit (SDK) - for code: protected by access keys
How are access keys generated?
Through the AWS Console
How are keys managed?
By user
What is AWS CLI?
A tool that allows you to interact with the AWS services using commands in your command-line shell.