/AWS1/CL_LIC=>CREATETOKEN()
¶
About CreateToken¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_LICENSEARN
TYPE /AWS1/LICARN
/AWS1/LICARN
¶
Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token.
IV_CLIENTTOKEN
TYPE /AWS1/LICCLIENTTOKEN
/AWS1/LICCLIENTTOKEN
¶
Idempotency token, valid for 10 minutes.
Optional arguments:¶
IT_ROLEARNS
TYPE /AWS1/CL_LICARNLIST_W=>TT_ARNLIST
TT_ARNLIST
¶
Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use.
IV_EXPIRATIONINDAYS
TYPE /AWS1/LICINTEGER
/AWS1/LICINTEGER
¶
Token expiration, in days, counted from token creation. The default is 365 days.
IT_TOKENPROPERTIES
TYPE /AWS1/CL_LICMAXSIZE3STRLIST_W=>TT_MAXSIZE3STRINGLIST
TT_MAXSIZE3STRINGLIST
¶
Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token.