Skip to main content

Config file

Create vela.config.json in your project root:
{
  "app": "my-app-slug",
  "schemasDir": "./vela/schemas"
}
FieldRequiredDefaultDescription
appyesApp slug or UUID
schemasDirno./vela/schemasDirectory containing schema JSON files
clientSecretnoClient secret. Prefer the env var instead

Authentication

The VELA_CLIENT_SECRET environment variable takes precedence over the config file:
export VELA_CLIENT_SECRET="vela_cs_..."
Do not commit secrets to vela.config.json. Use environment variables or your CI’s secret store.

CLI flags

All commands accept flags that override the config file:
FlagDescription
--app <slug>Override the app slug/UUID
--dir <path>Override the schemas directory path
vela push --app staging-app --dir ./schemas/staging

Precedence

Settings are resolved in this order (highest wins):
  1. CLI flags (--app, --dir)
  2. Environment variables (VELA_CLIENT_SECRET)
  3. vela.config.json file
  4. Defaults (schemasDir: ./vela/schemas)