Get Delegated Access Token
| sts_get_delegated_access_token | R Documentation |
Exchanges a trade-in token for temporary Amazon Web Services credentials with the permissions associated with the assumed principal¶
Description¶
Exchanges a trade-in token for temporary Amazon Web Services credentials with the permissions associated with the assumed principal. This operation allows you to obtain credentials for a specific principal based on a trade-in token, enabling delegation of access to Amazon Web Services resources.
Usage¶
sts_get_delegated_access_token(TradeInToken)
Arguments¶
TradeInToken |
[required] The token to exchange for temporary Amazon Web Services credentials. This token must be valid and unexpired at the time of the request. |
Value¶
A list with the following syntax:
list(
Credentials = list(
AccessKeyId = "string",
SecretAccessKey = "string",
SessionToken = "string",
Expiration = as.POSIXct(
"2015-01-01"
)
),
PackedPolicySize = 123,
AssumedPrincipal = "string"
)
Request syntax¶
svc$get_delegated_access_token(
TradeInToken = "string"
)