Identity and Acess Management (IAM) Flashcards
Quais são as opções que podem ser definidas em uma politica de senhas na AWS ?
O que quer dizer IAM ?
Identity Access Management Service
Como IAM funciona ?
O que são Principals ?
A person or application that uses the AWS account root user, an IAM user, or an IAM role to sign in and make requests to AWS. Principals include federated users and assumed roles.
- Users
- Roles
- Federated Users
- Applications
Qual a função de uma REQUEST ?
When a principal tries to use the AWS Management Console, the AWS API, or the AWS CLI, that principal sends a request to AWS
O que é uma AUTHENTICATION ?
A principal must be authenticated (signed in to AWS) using their credentials to send a request to AWS. Some services, such as Amazon S3 and AWS STS, allow a few requests from anonymous users. However, they are the exception to the rule.
Quais são os tipos de autenticação da AWS ?
- Console
To authenticate from the console as a root user, you must sign in with your email address and password.
As an IAM user, provide your account ID or alias, and then your user name and password.
- API / AWS CLI / SDK
To authenticate from the API or AWS CLI, you must provide your access key and secret key.
Quais são as informações que deve conter uma REQUEST ?
- Actions or operations
The actions or operations that the principal wants to perform. This can be an action in the AWS Management Console, or an operation in the AWS CLI or AWS API.
- Resources
The AWS resource object upon which the actions or operations are performed.
- Principal
The person or application that used an entity (user or role) to send the request. Information about the principal includes the policies that are associated with the entity that the principal used to sign in.
- Environment data
Information about the IP address, user agent, SSL enabled status, or the time of day.
- Resource data
Data related to the resource that is being requested. This can include information such as a DynamoDB table name or a tag on an Amazon EC2 instance.
Para que servem as POLICIES?
A policy is an object in AWS that, when associated with an identity or resource, defines their permissions.
When you create a permissions policy to restrict access to a resource, you can choose an identity-based policy or a resource-based policy.
Quais são os tipos de POLICIES que existem?
- Identity-based
- Resource-based
- Permissions boudaries
- Organizations SCPs
- Access Control List (ACL)
- Session policies
O que é uma politica IDENTITY-BASED ?
Identity-based policies grant permissions to an identity.
O que é uma politica RESOURCE_BASED ?
Resource-based policies grant permissions to the principal that is specified in the policy.
Quais permissões tem um USER após ser criado ?
Nenhuma.
Qual a quantidade máxima de USERS que um GROUP pode ter ?
Qual a quantidade máxima de GROUPS que um USER pode participar ?
5.000 USERS
10 GROUPS
Quais as permissões que um ROOT USER tem ?
Full Permissions.