Skip to main content
Set api-key (get your api-key from the console/CLI)

Usage

vastai set api-key APIKEY

Arguments

new_api_key
string
required
Api key to set as currently logged in user

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)