问题
Where is Identity Pool in Cognito Console. As said in docs it has format:
IdentityPoolId
An identity pool ID in the format REGION:GUID.
But I see only Pool Id
and Pool ARN
in the console. Which has different format.
回答1:
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>"
}
]
}
回答2:
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.

回答3:
If you've navigated to the dashboard, you can also pull the identity pool ID from the URL:
来源:https://stackoverflow.com/questions/44481490/where-to-find-identity-pool-id-in-cognito