cognito-identity:DescribeIdentity

Read

cognito-identity:DescribeIdentity is a Read access-level action in the cognito-identity service. Grants permission to return metadata related to the given identity, including when the identity was created and any associated linked logins

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants cognito-identity:DescribeIdentity.

cognito-identity:IdentityPoolArn ARN

Filters access by the identity pool ID for a given identity ID for DeleteIdentities and DescribeIdentity

Example IAM policy

A minimal policy that allows cognito-identity:DescribeIdentity. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCognitoidentityDescribeIdentity",
      "Effect": "Allow",
      "Action": "cognito-identity:DescribeIdentity",
      "Resource": "*"
    }
  ]
}

Related actions in cognito-identity

View all cognito-identity actions →