Zuplo CLI

Zuplo CLI: Variable Create

Applies to
Gatewayruntime for API, AI, and MCP gateways
Hosting
Managed EdgeManaged DedicatedSelf-Hosted
Creates a new variable for a branch
Code
zuplo variable create \ --name <name> \ --value <value> \ --is-secret <boolean> \ --branch <branch> [options]

Examples

Create a secret variable for the main branch

Code
zuplo variable create \ --name API_KEY \ --value my-secret-key \ --is-secret true \ --branch main

Create a non-secret variable for the production branch

Code
zuplo variable create \ --name BASE_URL \ --value https://api.example.com \ --is-secret false \ --branch production

Explicitly specify the account and project

Code
zuplo variable create \ --name DB_HOST \ --value localhost \ --is-secret false \ --branch dev \ --account my-account \ --project my-project

Options

--name

The name of the variable to create

Type: string

--value

The value of the variable to create

Type: string

--branch

The branch where the variable should be set

Type: string

--account

The account name

Type: string

--project

The project name

Type: string

--is-secret

Is the variable a secret

Type: boolean

Global options

The following global options are available for all commands:

Additional resources

Last modified on