vastai tfa auth-new before this command to authorize adding a new method.
Usage
Arguments
string
required
6-digit verification code from SMS or Authenticator app.
Options
string
required
Secret token from the setup process. For TOTP, obtained from
vastai tfa totp-setup. For SMS, obtained from vastai tfa send-sms.string
New 2FA method type to activate. Choices:
sms, totp. Treated as totp when neither this flag nor --phone-number is supplied.string
Phone number for SMS method in E.164 format (e.g.,
+12345678901). Required when activating an SMS method.string
Friendly label for the new 2FA method (e.g., “Work Authenticator”).