v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1450227196.3 KB

Creates a long-lived token.

A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.

post/#X-Amz-Target=AWSLicenseManager.CreateToken

Headers

X-Amz-Target'AWSLicenseManager.CreateToken' required

Request body

LicenseArnstring required

Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.

RoleArnsArn[]

Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.

ExpirationInDaysinteger

Token expiration, in days, counted from token creation. The default is 365 days.

TokenPropertiesString[]

Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.

ClientTokenstring required

Idempotency token, valid for 10 minutes.

Response

Success

TokenIdstring

Token ID.

TokenType'REFRESH_TOKEN'

Token type.

Tokenstring

Refresh token, encoded as a JWT token.