Create a new api-key with restricted permissions. Can be sent to other users and teammatesDocumentation Index
Fetch the complete documentation index at: https://docs.vast.ai/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Options
name of the api-key
file path for json encoded permissions, see https://vast.ai/docs/cli/roles-and-permissions for more information
optional wildcard key params for advanced keys
Description
In order to create api keys you must understand how permissions must be sent via json format. You can find more information about permissions here: https://vast.ai/docs/cli/roles-and-permissionsExamples
Global Options
The following options are available for all commands:| 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) |