AWS Identity and Access Management Flashcards
What is IAM?
AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources.
What can you control with IAM?
You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources.
What does IAM make it easy to do?
IAM makes it easy to provide multiple users secure access to AWS resources.
How is the IAM set up process?
When you first create an AWS account, you begin with a single sign-in identity that has complete access to all AWS services and resources in the account.
This identity is called the AWS account root user and is accessed by signing in with the email address and password that you used to create the account.
What can IAM be used to manage?
IAM can be used to manage:
Users. Groups. Access policies. Roles. User credentials. User password policies. Multi-factor authentication (MFA). API keys for programmatic access (CLI).
What features does IAM provide?
IAM provides the following features:
Shared access to your AWS account. Granular permissions. Secure access to AWS resources for application that run on Amazon EC2. Multi-Factor authentication. Identity federation. Identity information for assurance. PCI DSS compliance. Integrated with may AWS services. Eventually consistent. Free to use.
What are the ways that you can interact with IAM?
You can work with AWS Identity and Access Management in any of the following ways:
AWS Management Console.
AWS Command Line Tools.
AWS SDKs.
IAM HTTPS API.
What access do new users have by default?
By default new users are created with NO access to any AWS services – they can only login to the AWS console.
Permission must be explicitly granted to allow a user to access an AWS service.
What is an IAM user?
IAM users are individuals who have been granted access to an AWS account.
They are an entity that represents a person or service.
What can you assign to IAM User?
Can be assigned:
An access key ID and secret access key for programmatic access to the AWS API, CLI, SDK, and other development tools.
A password for access to the management console.
What are the three components of IAM users?
Each IAM user has three main components:
A username.
A password.
Permissions to access various resources.
You can apply granular permissions with IAM.
What individual security credentials can you assign to users?
You can assign users individual security credentials such as access keys, passwords, and multi-factor authentication devices.
What is IAM not used for?
IAM is not used for application-level authentication.
What can Identify Federations be configured to do?
Identity Federation (including AD, Facebook etc.) can be configured allowing secure access to resources in an AWS account without creating an IAM user account.
Who can MFA be enabled for?
Multi-factor authentication (MFA) can be enabled/enforced for the AWS account and for individual users under the account.
What does MFA use?
MFA uses an authentication device that continually generates random, six-digit, single-use authentication codes.
How can you authenticate using an MFA device?
You can authenticate using an MFA device in the following two ways:
Through the AWS Management Console – the user is prompted for a user name, password, and authentication code.
Using the AWS API – restrictions are added to IAM policies and developers can request temporary security credentials and pass MFA parameters in their AWS STS API requests.
Using the AWS CLI by obtaining temporary security credentials from STS (aws sts get-session-token).
What is the best practice for MFA on the root account?
It is a best practice to always setup multi-factor authentication on the root account.
Is IAM universal?
IAM is universal (global) and does not apply to regions.
Does IAM replicate data across the world?
IAM replicates data across multiple data centers around the world.
What is the root account?
The “root account” is the account created when you setup the AWS account.
It has complete Admin access and is the only account that has this access by default.
It cannot be restricted.
What is best practice for root account?
It is a best practice to avoid using the root account for anything other than billing.
Don’t use the root user credentials.
Don’t share the root user credentials.
Create an IAM user and assign administrative permissions as required.
Enable MFA.
What access does power user have ?
Power user access allows all permissions except the management of groups and users in IAM.
What consists of temporary security credentials?
Temporary security credentials consist of the AWS access key ID, secret access key, and security token.
What can IAM do with temporary security credentials?
IAM can assign temporary security credentials to provide users with temporary access to services/resources.
What must you provide to sign in to AWS?
To sign-in you must provide your account ID or account alias in addition to a user name and password.
What is a console password?
Console password:
A password that the user can enter to sign in to interactive sessions such as the AWS Management Console.
You can allow users to change their own passwords.
You can allow selected IAM users to change their passwords by disabling the option for all users and using an IAM policy to grant permissions for the selected users.