Usage
Options
string
name of the api-key
string
file path for json encoded permissions, see https://vast.ai/docs/cli/roles-and-permissions for more information
string
optional wildcard key params for advanced keys
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
vastai create api-key --name NAME --permission_file PERMISSIONS
vastai create api-key
| 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) |