vastai tfa activate. For your first method, verification defaults to email. For subsequent methods, use an existing 2FA method.
Usage
Options
string
2FA method type to use for authorization. Choices:
email, sms, totp. Defaults to email. Only use when you have exactly one method of this type. (alias: -t)string
2FA method ID to use if you have more than one of the same type. Get the ID from
vastai tfa status. (alias: -id)string
One-time backup code. Using a backup code immediately authorizes without an interactive code prompt. (alias:
-bc)string
Secret token from a previous incomplete authorization attempt. Use with
--code to resume. (alias: -s)string
2FA code from a previous incomplete authorization attempt. Use with
--secret to resume. (alias: -c)