cognito-identity:GetOpenIdTokenForDeveloperIdentity

Read

cognito-identity:GetOpenIdTokenForDeveloperIdentity is a Read access-level action in the cognito-identity service. Grants permission to register (or retrieve) a Cognito IdentityId and an OpenID Connect token for a user authenticated by your backend authentication process

Resource types

ARNs that cognito-identity:GetOpenIdTokenForDeveloperIdentity can be scoped to in an IAM policy.

arn:${Partition}:cognito-identity:${Region}:${Account}:identitypool/${IdentityPoolId}
identitypool

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

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

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

Related actions in cognito-identity

View all cognito-identity actions →