vastai tfa activate. For your first method, verification defaults to email. For subsequent methods, use an existing 2FA method.
Usage
Options
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)2FA method ID to use if you have more than one of the same type. Get the ID from
vastai tfa status. (alias: -id)One-time backup code. Using a backup code immediately authorizes without an interactive code prompt. (alias:
-bc)Secret token from a previous incomplete authorization attempt. Use with
--code to resume. (alias: -s)2FA code from a previous incomplete authorization attempt. Use with
--secret to resume. (alias: -c)