Configuration
An instance is configured by environment variables, by a YAML file, or both; the configuration is read once at start, and anything required and missing stops the instance with a message naming every key. Every key, with its variable, type, default and accepted values: configuration keys.
Two sources
- Environment variables,
VAUBAAN_*. A secret may come from a file instead, through the twin variable ending in_FILE(VAUBAAN_MASTER_KEY_FILE). - A YAML file, named by
VAUBAAN_CONFIG_FILE. Secrets in it are written as references,${NAME}(an environment variable) or${file:/path}(a mounted file).
When both set a key, the file wins, silently. That is why deploy/config/gateway.example.yaml ships with every key commented out: copying it changes nothing until you uncomment a key. Use either source alone, or give each key one owner.
A missing or invalid key stops the instance at start with exit code 78:
Invalid instance configuration (1 problem):
- encryption.master_key: missing required key (env: VAUBAAN_MASTER_KEY or VAUBAAN_MASTER_KEY_FILE)
Sign-in providers
People sign in through one or more sign-in providers, offered side by side on the sign-in page:
- OpenID Connect, your company's directory. One sign-in provider under
idp.*(callbackhttps://your-domain/auth/callback), or any number undersign_in.<id>.*withkind: oidc(callbackhttps://your-domain/auth/callback/<id>). - GitHub, through a GitHub OAuth App, under
sign_in.<id>.*withkind: github(callbackhttps://your-domain/auth/callback/<id>). - Sign-in accounts kept by the instance, under
sign_in.<id>.*withkind: local(at most one): invitation only, a password and a required second factor; invitation and reset links go through the instance's own mail (mail.*), or an administrator copies them from People.
Sign-in providers can also be added from the interface, Settings → Administration → Sign-in, by an administrator; one set in the configuration is read-only there. Until a sign-in provider exists, the bootstrap token (bootstrap_token) lets the first administrator in; the first sign-in of a person matching the admin rule revokes it.
A sign-in provider where anyone can open an account (GitHub, personal Google or Microsoft accounts) is refused without allowed email domains (allowed_email_domains) or "invitation only" (invitation_only); invitations are made on Settings → People. A person is a pair (issuer, subject): the same person at two sign-in providers is two accounts, never merged by email.
The admin rule
Administrators are named by the configuration only: admin.group (a group of the identity provider, written <sign-in provider>:<group> once there are several sign-in providers) or admin.emails (verified addresses), or both. An administrator configures the instance, keeps local teams and deactivates people; they do not answer another person's requests nor create missions on accounts they do not hold.
Services
Nothing is configured per service. People connect an account with a key they create at the service, and a service that signs people in through its own authorization (Miro) gets an OAuth client the gateway registers there itself. The keys providers.<id>.* (VAUBAAN_PROVIDER_<ID>_<FIELD>) of earlier versions are no longer read: an instance that still sets them does not start, and the message names each one to remove.
Each service's steps: connect a service.
Things that are not configurable
Several lifetimes, rate-limit windows and timeouts look like settings but are constants of the code, and changing one is a release; the ones that shape behaviour (approvals, sign-in lockout, link lifetimes) are stated in the product specification.
In this section
Last changed 2026-12-02. This page as Markdown: /docs/configuration.md