Advanced IAM (ACG) Flashcards
What is Web Identity Federation?
Simplifies authentication and authorization for web apps.
Users access AWS resources after authenticating with a web-based identity provider like Google or Facebook.
What Amazon services provides web ID federation, including sign-up and sign-in functionality for your app and access for guest users?
Amazon Cognito
What are user pools for?
Sign-up and sign-in functionality for mobile and web apps.
What are identity pools for?
Provide temporary AWS credentials to AWS services such as S3 or DynamoDB.
What is exchanged for AWS credentials when someone authenticates their Cognito user pool with a successful Facebook log in?
Facebook will send a JWT token or a JSON web token which is exchanged for AWS credentials. The credentials are mapped to an IAM role which provides access to AWS services.
What is the AWS recommended approach for web ID federation for mobile apps?
Cognito
What does Cognito use to send silent push notifications of user data updates to multiple devices?
Congnito Push Synchronization uses SNS so send a silent push notification of user data updates to multiple devices associated with a single user ID.
What are AWS Managed Policies?
Includes AWS managed default policies like AmazonDynamoDBFullAccess or AmazonEC2ReadOnlyAccess.
What is the difference between a Customer Managed Policy and an Inline Policy?
They are both created by you, but an inline policy only applies to a single user, group or role. Inline policies cannot be shared.
In most cases, what is AWS recommendation for policies?
In most cases, AWS recommends using managed policies over inline policies.
What is STS AssumeRoleWithWebIdentity?
Security Token Service API Call that returns temporary security credentials for authenticated users using a web ID provider like Google, Amazon or Facebook. Cognito does this automatically on your behalf.
What are the identifiers your application code refers to for temporary AWS credentials?
Within AssumedRoleUser, the Arn and AssumedRoleId are the identifiers used to reference temporary credentials (not an IAM role or user).
With STS, after the user has authenticated, what API call does the application make?
assume-role-with-web-identity
Which IAM feature allows you to have your users Authenticate using Facebook, Google or Amazon?
Web Identity Federation
Which Amazon Cognito component enables you to provide user temporary credentials to grant access only to allowed AWS services?
Identity Pools