IAM 101 Flashcards
What does IAM stand for?
Identity Access Management
What are some of the features of IAM (9)
- Centralized control of your AWS account
- Shared Access to your AWS account
- Granular Permissions
- Identity Federation (i.e. Active Directory, Facebook, LinkedIn, etc.)
- Multifactor authentication (you should ALWAYS do this)
- Temporary access for users/devices and services when necessary
- Custom Password rotation policy
- Integration w/ many AWS services
- Supports PCI DSS compliance
What are Users and Groups? What is the key relationship between them?
- Users are end users (people, employees of an organization, etc.)
- Groups are collections of users.
- Each user in the group inherits the permissions of the group.
What are IAM Policies?
Policies are comprised of policy documents, which are JSON docs that give permissions to a user, group, or role.
What is a Role?
- A Role is a custom “label” assigned to an AWS resource. - It allows one part of AWS to do something with another part.
How broad is the IAM namespace?
IAM has a GLOBAL namespace
Which account is the root account in IAM?
- The root account is the account created when you first setup your AWS account.
What are Access Key ID and Secret Access Key? How are you assigned them? What can they be used for?
- Access Key ID and Secret Access Key are assigned to new users upon creation. - Access Key ID and Secret Access Key are used for *programmatic access* (AWS APIs and CLI)…think of it like the username/password for programmatic access - Access Key ID and Secret Access Key can NOT be used to log in to the console. - You can only view them ONCE. If you lose them, you have to regenerate them.
What permissions does a user have when first created?
A New user has NO permissions when first created (think least privileges)
How would I set up to be automatically notified if my account spending goes over a certain amount?
Create a billing alarm in CloudWatch
At a very high level, what does IAM do?
IAM allows you to manage users and their level of access to the AWS console
What access does the root account have?
The root account has complete admin access (god mode)