aws license-manager create-token

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

Options

NameDescription
--license-arn <string>Amazon Resource Name (ARN) of the license. The ARN is mapped to the aud claim of the JWT token
--role-arns <list>Amazon Resource Name (ARN) of the IAM roles to embed in the token. License Manager does not check whether the roles are in use
--expiration-in-days <integer>Token expiration, in days, counted from token creation. The default is 365 days
--token-properties <list>Data specified by the caller to be included in the JWT token. The data is mapped to the amr claim of the JWT token
--client-token <string>Idempotency token, valid for 10 minutes
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command