Skip to main content
Create a new api-key with restricted permissions. Can be sent to other users and teammates

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

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-permissions

Examples

Global Options

The following options are available for all commands: