How to get an Identity Pool's ID in AWS Cognito

avatar

Borislav Hadzhiev

Fri Sep 24 20211 min read

banner

Photo by Anthony Tran

Get a Cognito Identity Pool's ID #

In order to get your Identity Pool's ID in AWS Cognito, you have to:

  1. Open the AWS Cognito console and click on Manage Identity Pools
  2. Select your Identity pool from the list
  3. Click on the Edit identity pool button at the top right corner

edit identity pool button

  1. The Identity Pool ID is displayed under the Identity pool's name

get identity pool id

Alternatively, you can get your Identity Pool's ID using the AWS CLI, by running the list-identity-pools command.

shell
aws cognito-identity list-identity-pools --max-results 20

list identity pools

The list-identity-pools command lists all the identity pools in your account and outputs their names and ids.

If you know the name of your identity pool, you can just copy the value of the corresponding IdentityPoolId property.

Further Reading #

Join my newsletter

I'll send you 1 email a week with links to all of the articles I've written that week

Buy Me A Coffee