Access AWS Resources from a Web Client Using Cognito Identity Pools
In this lab, you'll practice using Cognito identity pools. When you're finished with this lab, you'll have configured a web app to retrieve temporary credentials and created custom IAM policies to grant fine-grained access.
Terms and conditions apply.
Lab info
Lab author
Challenge
Configure Amplify Auth
Retrieve the required IDs for the existing user pool and identity pool, then test authentication in the web app.
Challenge
Configure AWS SDK
Configure the AWS SDK to use the identity pool credentials.
Challenge
Update IAM Policy
Update the IAM role's policy to only allow users to access their own data.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Basic IAM Knowledge
- Experience with Cognito Identity Pools