web_identity_federation Flashcards
1
Q
What is Web Identity Federation?
A
- Allows users to authenticate with web identity providers (e.g., Google, Facebook, Amazon).
- An authentication token (JWT token) is exchanged for temporary AWS credentials.
- Users can assume an IAM role with permission to access AWS resources.
2
Q
What role does Cognito play in web identity federation?
A
- Acts as an identity broker.
- Handles interaction with web identity providers.
- Provides sign-up, sign-in, and guest user access functionalities.
- AWS recommended approach for web identity federation for mobile applications.
3
Q
What are the differences between User Pools and Identity Pools in Amazon Cognito?
A
User Pools:
- Manages sign-up and sign-in functionality for mobile and web applications.
Identity Pools:
- Provides temporary AWS credentials.
- Enables access to AWS services like S3 or DynamoDB.
4
Q
How does Cognito Push Synchronization work?
A
- Uses SNS to send silent push notifications of user data updates.
- Updates are sent to multiple devices associated with a single UserID.
- For example, a change of address triggers a push notification to all devices linked to the user’s account.