CmdID / aws / aws cognito-idp
aws cognito-idp associate-software-token
Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--access-tokenA valid access token that Amazon Cognito issued to the currently signed-in user.--sessionThe session identifier that maintains the state of authentication requests and challenge responses.