Skip to content

.ov.yaml

import { Aside } from ‘@astrojs/starlight/components’;

.ov.yaml will be an optional project config file that lives in your repository root. When present, it will eliminate the need to pass --app on every command and tell ov run and ov mcp serve which secrets to inject automatically.


.ov.yaml
# OpaqueVault project config. Safe to commit — contains no secrets.
app: my-saas # app name in OpaqueVault
# Optional: which secrets to inject with `ov run` and vault_run.
# If omitted, all secrets in the app are injected.
secrets:
- DATABASE_URL
- STRIPE_SECRET_KEY
- SENDGRID_API_KEY

Until .ov.yaml is supported, set your default app once:

Terminal window
ov app use my-saas

Then all commands target my-saas without any flags:

Terminal window
ov secret set DATABASE_URL
ov secret list
ov run --secrets DATABASE_URL -- ./migrate

To target a different app for a single command, use --app:

Terminal window
ov secret list --app payments-service
ov run --secrets DATABASE_URL --app payments-service -- ./migrate