2025/11/10 - AWS Security Token Service - 1 new api methods
Changes Added GetDelegatedAccessToken API, which is not available for general use at this time.
This API is currently unavailable for general use.
See also: AWS API Documentation
Request Syntax
client.get_delegated_access_token(
TradeInToken='string'
)
string
[REQUIRED]
dict
Response Syntax
{
'Credentials': {
'AccessKeyId': 'string',
'SecretAccessKey': 'string',
'SessionToken': 'string',
'Expiration': datetime(2015, 1, 1)
},
'PackedPolicySize': 123,
'AssumedPrincipal': 'string'
}
Response Structure
(dict) --
Credentials (dict) --
Amazon Web Services credentials for API authentication.
AccessKeyId (string) --
The access key ID that identifies the temporary security credentials.
SecretAccessKey (string) --
The secret access key that can be used to sign requests.
SessionToken (string) --
The token that users must pass to the service API to use the temporary credentials.
Expiration (datetime) --
The date on which the current credentials expire.
PackedPolicySize (integer) --
AssumedPrincipal (string) --