LicenseManager.Client.
get_access_token
(**kwargs)¶Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
See also: AWS API Documentation
Request Syntax
response = client.get_access_token(
Token='string',
TokenProperties=[
'string',
]
)
[REQUIRED]
Refresh token, encoded as a JWT token.
Token properties to validate against those present in the JWT token.
dict
Response Syntax
{
'AccessToken': 'string'
}
Response Structure
(dict) --
AccessToken (string) --
Temporary access token.
Exceptions
LicenseManager.Client.exceptions.ValidationException
LicenseManager.Client.exceptions.AuthorizationException
LicenseManager.Client.exceptions.AccessDeniedException
LicenseManager.Client.exceptions.RateLimitExceededException
LicenseManager.Client.exceptions.ServerInternalException