IAM 101 Flashcards
IAM Basics, Access Key ID and Secret Access Key
What does IAM stand for?
Identity Access Management
What are the key features of IAM?
- 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 a 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 an IAM Role, and what is its purpose in AWS?
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
What permissions does an IAM user have when first created?
A new user has NO permissions when first created (think least privileges)
At a very high level, what does AWS IAM do?
IAM allows you to manage users and their level of access to the AWS console
Which account is the root account in IAM?
- The root account is the account created when you first setup your AWS account.
What access does the root account have?
The root account has complete admin access (god mode)
What are Access Key ID and Secret Access Key used for?
- 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.
Can your Access Key ID and Secret Access Key be used to log in to the AWS CLIs/API?
Yes
Can your Access Key ID and Secret Access Key be used to log in to the AWS console?
No
How are you assigned an Access Key ID and Secret Access Key?
- Access Key ID and Secret Access Key are assigned to new users upon creation
- You can only view them ONCE.
If you lose your AWS Access Key ID and Secret Access Key, how can you recover them?
You can’t!
(You’ll need to generate a new pair)