cognito-idp:GetIdentityProviderByIdentifier

Read

cognito-idp:GetIdentityProviderByIdentifier is a Read access-level action in the cognito-idp service. Grants permission to correlate a user pool IdP identifier to the IdP Name

Resource types

ARNs that cognito-idp:GetIdentityProviderByIdentifier can be scoped to in an IAM policy.

arn:${Partition}:cognito-idp:${Region}:${Account}:userpool/${UserPoolId}
userpool

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCognitoidpGetIdentityProviderByIdentifier",
      "Effect": "Allow",
      "Action": "cognito-idp:GetIdentityProviderByIdentifier",
      "Resource": "*"
    }
  ]
}

Related actions in cognito-idp

View all cognito-idp actions →