CmdID

CmdID / aws / aws cognito-idp

aws cognito-idp get-tokens-from-refresh-token

Given a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token. AWS CLI reference

5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

5 in the AWS CLI reference
--client-idThe app client that issued the refresh token to the user who wants to request new tokens.
--client-metadataA map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
--client-secretThe client secret of the requested app client, if the client has a secret.
--device-keyWhen you enable device remembering, Amazon Cognito issues a device key that you can use for device authentication that bypasses multi-factor authentication (MFA).
--refresh-tokenA valid refresh token that can authorize the request for new tokens.