Skip to main content

prefect variable

Manage variables.

prefect variable ls

List variables.

Options

The maximum number of variables to return.
Specify an output format. Currently supports: json

prefect variable inspect

View details about a variable.

Arguments

string
required

Options

Specify an output format. Currently supports: json

prefect variable get

Get a variable’s value.

Arguments

string
required

prefect variable set

Set a variable.If the variable already exists, use --overwrite to update it.

Arguments

string
required
string
required

Options

Overwrite the variable if it already exists.
Tag to associate with the variable.

prefect variable unset

Unset a variable.

Arguments

string
required

prefect variable delete

Unset a variable.

Arguments

string
required