Where to find Identity Pool Id in Cognito

馋奶兔 提交于 2019-12-21 03:29:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!