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


Borislav Hadzhiev

Fri Sep 24 20211 min read


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.

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 #

Use the search field on my Home Page to filter through my more than 1,000 articles.