Docs

zitadel variable list

List the variables entered on the project.

Usage

npx @zitadel/cli@latest variable list [flags]

Flags

FlagDescription
--previewList the preview values instead of the primary ones.
--plainTab-separated rows with no header, for piping. Implied when stdout is not a terminal.
-e, --env <value>Environment to run against, e.g. production. Defaults to ZITADEL_ENV, then the hosting platform's build (VERCEL_ENV, or Netlify's CONTEXT), then development.
--env-file <value>Read ZITADEL_* values from this file ahead of the process environment. A relative path is read from the current directory, not from --cwd. Cannot be combined with --env.

It also takes the global flags.

Examples

npx @zitadel/cli@latest variable list
npx @zitadel/cli@latest variable list --preview
npx @zitadel/cli@latest variable list --json

API

It calls Get variables, GET /variables, in the Variables API.

Was this helpful?