signin:CreateBearerToken

Read

signin:CreateBearerToken is a Read access-level action in the signin service. Grants permission to exchange SigV4 credentials for a bearer token that can be used to access supported AWS services

Resource types

ARNs that signin:CreateBearerToken can be scoped to in an IAM policy.

arn:${Partition}:signin:${Region}:${Account}:service-principal/${ServicePrincipalName} required
oauth2-resource-service-principal

Condition keys

Keys you can use in the Condition block of a policy that grants signin:CreateBearerToken.

signin:OAuthClientId String

Filters access by the OAuth client ID used in the authorization or token request

signin:OAuthGrantType String

Filters access by the OAuth grant type used in the token request

Example IAM policy

A minimal policy that allows signin:CreateBearerToken. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowSigninCreateBearerToken",
      "Effect": "Allow",
      "Action": "signin:CreateBearerToken",
      "Resource": "*"
    }
  ]
}

Related actions in signin

View all signin actions →