IAM Flashcards
What is IAM
Amazon Identity Access Management is a web service that helps you securely control access to AWS resources.
Authentication vs Authorization
Authentication - Able to sign in
Authorization - Access to resources.
Consistency type of IAM
Eventually consistent.
You access IAM via:
- AWS Management Console
- AWS Command Line Tools
- AWS SDKs
- IAM HTTPS API
When you use the ________, you must include code to digitally sign requests using your credentials
HTTPS API
What are IAM Resources
- User
- Group
- Role
- Identity Provider Objects
Can you add/delete/modify IAM resources?
With given permissions, yes
What are Identity Provider Objects?
If you already manage user identities outside of AWS, you can use IAM identity providers instead of creating IAM users in your AWS account.
What are IAM Identities?
IAM resource objects that are used to identify and group such as users, groups and roles.
You attach policies to _______
IAM identities.
What are IAM Entities?
IAM Resource objects that AWS use for authentication such as users and roles.
What is a principal
A principal is a person or applicaion that uses AWS root user, an IAM User or an IAM role to sign in and make requests to AWS.
Principals include users such as _______ and _________
Federated users and assumed roles.
AWS users and roles, that are used to authenticate are called as _________
IAM entities
Out of users, groups and roles, you don’t use this for authentication.
Groups
_________ are used for AWS authentication?
IAM Entities.
What information does a request from principal to AWS resource include?
- Actions or operations.
- Resources
- Principal
- Environment Data
- Resource Data
AWS gathers the information from request into a ________ which is used to authorize the request
Request context
To authenticate a principal from the API or AWS CLI, you must provide your ________ and __________
access key and secret key.
Most policies are stored in AWS as ___________
JSON documents
__________ specify the permissions for principal entities
Policies
To provide your users with permissions to access the AWS resources in their own account, you need only _________.
identity-based policies
Resource-based policies are popular for ___________
granting cross-account access
When does AWS Denies a request?
- Explicit Deny
2. Denied by default