Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find Identity Pool Id in Cognito

Where is Identity Pool in Cognito Console. In the docs mentioned:

IdentityPoolId

An identity pool ID in the format REGION:GUID.

But I see only Pool Id and Pool ARN in the console. Which have different formats.

like image 912
Alex Po Avatar asked Jun 11 '17 07:06

Alex Po


People also ask

What is user pool ID in AWS Cognito?

A user pool is a user directory in Amazon Cognito. With a user pool, your users can sign in to your web or mobile app through Amazon Cognito. Your users can also sign in through social identity providers like Google, Facebook, Amazon, or Apple, and through SAML identity providers.

What is pool ID?

An identity pool is a store of user identity data specific to your account. To create a new identity pool in the console. Sign in to the Amazon Cognito console , choose Manage identity pools, and then choose Create new identity pool.

Is Cognito user pool ID secret?

They are not secret. In fact, the ID token contains the iss claim (property), which is the User Pool ID, and the aud claim, which is the App Client ID.


2 Answers

I can manage to get the IdentityPooId by aws cli:

aws cognito-identity list-identity-pools --max-results 10 

The command returns all of the Cognito identity pools registered for your account.

{     "IdentityPools": [         {             "IdentityPoolId": "XX-XXXX-X:XXXXXXXX-XXXX-1234-abcd-1234567890ab",             "IdentityPoolName": "<some custom name>"         }     ] } 
like image 81
elbik Avatar answered Sep 18 '22 11:09

elbik


You can find Identity pool ID if you select Manage Federated Identities on the page https://eu-west-1.console.aws.amazon.com/cognito/home?region=eu-west-1 and create an Federated Identity.

Alt text

like image 36
Alex Po Avatar answered Sep 21 '22 11:09

Alex Po