Creates a long-lived token.
See https://www.paws-r-sdk.com/docs/licensemanager_create_token/ for full documentation.
Usage
licensemanager_create_token(
LicenseArn,
RoleArns = NULL,
ExpirationInDays = NULL,
TokenProperties = NULL,
ClientToken
)Arguments
- LicenseArn
[required] Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.
- RoleArns
Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.
- ExpirationInDays
Token expiration, in days, counted from token creation. The default is 365 days.
- TokenProperties
Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.
- ClientToken
[required] Idempotency token, valid for 10 minutes.