vastai tfa auth-new before this command to authorize adding a new method.
Usage
Examples
<SECRET> is the secret token printed by this command and <CODE> is the 6-digit code from your authenticator app.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
vastai tfa auth-new before this command to authorize adding a new method.
vastai tfa totp-setup
vastai tfa totp-setup
vastai tfa activate --method-type totp --secret <SECRET> <CODE>
<SECRET> is the secret token printed by this command and <CODE> is the 6-digit code from your authenticator app.
| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |