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.envor./volcano.env) or the declarative config. When declared, variables are fully synced on deploy: entries absent from the source are deleted.
CLI operations
| Operation | Command |
|---|---|
| Deploy from env file | volcano variables deploy [-f <path>] |
| List | volcano variables list |
| Get | volcano variables get <name> |
| Delete | volcano 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_KEYDeploying variables triggers a rollout to the affected functions and frontends.