aws sts get-delegated-access-token
Exchanges a trade-in token for temporary Amazon Web Services credentials with the permissions associated with the assumed principal. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--trade-in-tokenThe token to exchange for temporary Amazon Web Services credentials.