Ravi Sir's Cards › AWS
Cognito user and identity pools
This revision card explains Cognito user and identity pools. It starts from the need that building your own auth (passwords, MFA, tokens) is slow and risky. It describes user pools authenticate users (sign-up/sign-in/MFA/JWT). Identity pools can issue temporary AWS credentials. The how-to section covers how to create user pool + app client , then host UI or SDK , then validate JWTs on API; optional identity pool for S3 uploads. An example on the card is mobile app signs in via user pool; gets scoped creds to upload to one S3 prefix.
Read card text
What this card says
Why do we need it?
Building your own auth (passwords, MFA, tokens) is slow and risky.
What is it?
User pools authenticate users (sign-up/sign-in/MFA/JWT). Identity pools can issue temporary AWS credentials.
Cognito
How to do it
Create user pool + app client → host UI or SDK → validate JWTs on API; optional identity pool for S3 uploads.
Example
Mobile app signs in via user pool; gets scoped creds to upload to one S3 prefix.