AWS Cogneto Flashcards
What is AWS Cognito?
Mobile-based auth and identity, where you can have the user management like, create, modify, delete and reset password done for you. You can also have external web-based identity providers integrated.
I require OAuth2 with my mobile application, what service could I use?
Cognito supports
I require OIDC with my mobile application, what service could I use?
Cognito supports
I require JWTs with my mobile application, what service could I use?
Cognito supports
How can I use Cognito to provide delegated access?
You can, deligated access is only available through AWS IAM, Cognito is for user management and web-based federation.
What is OIDC?
Open ID connect
What is JWT?
Java web token
What is in a JWT?
Header
Payload
Signing
What are the two main sections/services in reference to Cognito?
User pools
Identity pools
I wnat to build an application fast and what to offload user UI management like user sign up, pass-reset, etc to service, what options do I have?
Cognito user pools offer this ability
I am building a web-based application and I would like the ability to have social bast authentication in my application, what is my best option?
Cognito identity pools
Is MFA supported by user management?
Yes 100%
Can you customize the user pool user UI interface?
Yes 100%
Can you use identity and user pools at the same time?
Yes 100%
As part of my signup, I require SMS verification and email verification, what is my option if I do not wnat to build it in my app to save time?
You can use Cognito
I wnat to use custom flows to the auth and sign up and even messages in Cognito, is this possible?
Yes 100%, using lambda
What service does Cognito integrate with?
API Gateway
AWS ALB
I have an application that uses ALB and being it is my app in an autoscaling group, I have been asked to add OAUTH authorization, how cna I do this?
The ALB has the ability to integrate with Cognito and Cognito supports OAUTH, So you have Cogneto preform the oTHUH for the user and provide the token to the ALB.
I have an application that uses API with s my app in an autoscaling group, I have been asked to add OAUTH authorization, how cna I do this?
The API has the ability to integrate with Cognito and Cognito supports OAUTH, So you have Cogneto preform the oTHUH for the user and provide the token to the API GW.
I have a mobile application, I intend to use a SynamoDBtable for each user to enable the user to store information but I need that ability to authorise again DynamoDB, what is my best option?
Cogneto can be used, Cognito will auth thet user and retrieve an STS token that cna be used to call other AWS services.
When using user identity in Cogneto, what MFA types are supported MFA?
- sms
When Cognito is used to sign in from say google account, what is returned by Cognito?
STS access key and secret key
When Cognito is used to sign in from say google account, what is returned by Cognito?
STS access key and secret key