CmdID / aws / aws cognito-idp
aws cognito-idp verify-software-token
Registers the current user's time-based one-time password (TOTP) authenticator with a code generated in their authenticator app from a private key that's supplied by your user pool. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--access-tokenA valid access token that Amazon Cognito issued to the currently signed-in user.--friendly-device-nameA friendly name for the device that's running the TOTP authenticator.--sessionThe session ID from an AssociateSoftwareToken request.--user-codeA TOTP that the user generated in their configured authenticator app.