Volcano/ Docs

Variables

Environment variables (including secrets) made available to your project's functions and frontends at runtime.

What it is

Environment variables (including secrets) made available to your project's functions and frontends at runtime.

How it relates

  • Belongs to a project.
  • Consumed by functions and frontends at runtime.
  • Sourced from an env file (volcano/volcano.env or ./volcano.env) or the declarative config. When declared, variables are fully synced on deploy: entries absent from the source are deleted.

CLI operations

OperationCommand
Deploy from env filevolcano variables deploy [-f <path>]
Listvolcano variables list
Getvolcano variables get <name>
Deletevolcano variables delete <name>

Prefix with cloud to force the cloud target.

Examples

# Deploy variables from volcano/volcano.env (or a custom file)
volcano variables deploy
volcano variables deploy -f ./secrets.env

# Inspect and remove
volcano variables list
volcano variables get STRIPE_SECRET_KEY
volcano variables delete STRIPE_SECRET_KEY

Deploying variables triggers a rollout to the affected functions and frontends.

On this page