CmdID / aws / aws cognito-identity
aws cognito-identity get-credentials-for-identity
Returns credentials for the provided identity ID. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--custom-role-arnThe Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider.--identity-idA unique identifier in the format REGION:GUID.--loginsA set of optional name-value pairs that map provider names to provider tokens.