Configuration keys
This page lists every configuration key of an instance, with its environment variable, its type, its default and what it accepts; it is generated from the key table of the repository's configuration handbook, which a test holds to the gateway's own loader.
A key is set in the YAML file named by VAUBAAN_CONFIG_FILE or by its environment variable; when both set a key, the file wins, silently. Secrets may also be given as ${NAME} or ${file:/path} references in the file, or through the *_FILE variables. Anything required and missing stops the instance at start with exit code 78 and a message naming every key. How the sources combine: configuration.
| Key | Environment variable | Type | Default | Accepted values |
|---|---|---|---|---|
public_url | VAUBAAN_PUBLIC_URL | URL | required | https; no query or fragment; a trailing / is stripped, a sub-path is kept |
local | VAUBAAN_LOCAL | boolean | false | —; supplies public_url http://localhost:3000, store.path /data/gateway.db, the master key file /data/master.key with generate_master_key and accept_key_beside_store (unless the key is given), accept_shared_address_windows, each only when unset; public_url then names a loopback host, over http or https |
instance_name | VAUBAAN_INSTANCE_NAME | string | — | 1 to 64 characters; trimmed; no control character, line or paragraph separator, nor bidirectional override or isolate (checkInstanceName, config/instance-name.ts); blank is not set |
trusted_proxies | VAUBAAN_TRUSTED_PROXIES | list | — | —; each entry an IP address or a CIDR block (prefix 0–32 for IPv4, 0–128 for IPv6) |
self_resources | VAUBAAN_SELF_RESOURCES | list | — | —; each entry <service>:<ref> (a plugin id, registered or in the catalog, then the resource ref as discovery stores it); railway:$RAILWAY_PROJECT_ID is always added when Railway sets that variable, fly:$FLY_APP_NAME when Fly sets that one |
client_ip_header | VAUBAAN_CLIENT_IP_HEADER | enum | — | x-real-ip, cf-connecting-ip, true-client-ip, fly-client-ip; not together with trusted_proxies; off by default |
accept_shared_address_windows | VAUBAAN_ACCEPT_SHARED_ADDRESS_WINDOWS | boolean | false | —; read only with NODE_ENV=production |
store.path | VAUBAAN_STORE_PATH | string | required | —; not empty |
restore.from | VAUBAAN_RESTORE_FROM, VAUBAAN_RESTORE_FROM_FILE | secret | — | —; an https URL (a redirect only to https, five at most) or an absolute file path; http refused; never echoed nor logged |
restore.sha256 | VAUBAAN_RESTORE_SHA256 | string | — | —; 64 hexadecimal characters; required with restore.from |
restore.max_mb | VAUBAAN_RESTORE_MAX_MB | integer | 1024 | 1 to 65536; in mebibytes |
encryption.master_key | VAUBAAN_MASTER_KEY, VAUBAAN_MASTER_KEY_FILE | secret | required | —; exactly 32 bytes, in base64 or base64url |
encryption.key_version | VAUBAAN_MASTER_KEY_VERSION | integer | 1 | >= 1 |
encryption.previous_keys | VAUBAAN_MASTER_KEY_PREVIOUS, VAUBAAN_MASTER_KEY_PREVIOUS_FILE | secret map | — | —; {version: key} (1=<b64>,2=<b64> in the variable); a version is an integer >= 1 other than key_version; each key 32 bytes, base64 |
encryption.generate_master_key | VAUBAAN_MASTER_KEY_GENERATE | boolean | false | — |
encryption.accept_key_beside_store | VAUBAAN_ACCEPT_KEY_BESIDE_STORE | boolean | false | — |
sign_in.<id>.<field> | VAUBAAN_SIGN_IN_<ID>_<FIELD> (KIND, NAME, ISSUER, CLIENT_ID, CLIENT_SECRET and its _FILE, CLAIM_SUB, CLAIM_EMAIL, CLAIM_GROUPS, CLAIM_EMAIL_VERIFIED, ALLOWED_EMAIL_DOMAINS, INVITATION_ONLY, REQUIRE_VERIFIED_EMAIL; - in the id ↔ _ in the variable) | string | — | kind, name, issuer, client_id, client_secret, claims.sub, claims.email, claims.groups, claims.email_verified, allowed_email_domains, invitation_only, require_verified_email; the id is a lower-case letter then letters, digits or hyphens (32 at most); the keys of the single sign-in provider of earlier builds (idp.*, VAUBAAN_IDP_*) are refused, naming sign_in.idp.*; kind is oidc or github; issuer https, required for oidc and never a github.com address there (GitHub is not an OpenID Connect provider: kind: github), default https://github.com for github; no claims and no require_verified_email for github; claims.email_verified defaults to email_verified (Entra ID: xms_edov), require_verified_email to false (true: an unverified email is refused, as on an open sign-in provider); one issuer per sign-in provider; an open sign-in provider needs domains or invitation_only |
oauth_brokers.<name>.<field> | VAUBAAN_OAUTH_BROKER_<NAME>_<FIELD> (URL, KEY and its _FILE, PROVIDERS, ATTESTATION; - in the name ↔ _ in the variable) | string | — | url, key, providers, attestation; the name is a lower-case letter then letters, digits or hyphens (32 at most); url and key required, url https (http for a loopback host only, with attestation: none), no credentials, query or fragment, a path kept as the prefix of the calls; key a secret (${file:…} or _FILE); providers the broker providers it serves (google), lower-cased — none: the default broker, at most one; a broker provider served by one broker at most; attestation required (default) or none |
admin.group | VAUBAAN_ADMIN_GROUP | string | — | —; optional, a seed of the administrators (ADR administrators-live-in-the-instance): applied once, while the store names no administrator, as a group designation; <sign-in provider>:<group> (a GitHub group is org/team); a bare name only while one sign-in provider is configured; changed later, it is shown in Administration → Users and applied only by an administrator |
admin.emails | VAUBAAN_ADMIN_EMAILS | list | — | —; optional; lower-cased; each entry contains @; a seed: applied once, while the store names no administrator — each address an administrator at its first sign-in through any sign-in provider (at once for a user already known by it) |
bootstrap_token | VAUBAAN_BOOTSTRAP_TOKEN, VAUBAAN_BOOTSTRAP_TOKEN_FILE | secret | required while no sign-in provider is set | at least 32 characters; refused once bootstrap.revoked_at is set in the store |
mail.smtp_host | VAUBAAN_MAIL_SMTP_HOST | string | — | —; with mail.from, the whole mail.* block or none of it |
mail.smtp_port | VAUBAAN_MAIL_SMTP_PORT | integer | 587 | 1 to 65535 |
mail.smtp_user | VAUBAAN_MAIL_SMTP_USER | string | — | —; with mail.smtp_password, both or neither |
mail.smtp_password | VAUBAAN_MAIL_SMTP_PASSWORD, VAUBAAN_MAIL_SMTP_PASSWORD_FILE | secret | — | — |
mail.from | VAUBAAN_MAIL_FROM | string | — | —; an address, or Name <address> |
mail.tls | VAUBAAN_MAIL_TLS | enum | starttls | starttls, implicit, none |
backup.s3.endpoint | VAUBAAN_BACKUP_S3_ENDPOINT | URL | — | —; https, or http for localhost / 127.0.0.1 / ::1 only; an origin (no path, query or credentials); required with the other backup.s3.* keys |
backup.s3.region | VAUBAAN_BACKUP_S3_REGION | string | — | —; required with the other backup.s3.* keys |
backup.s3.bucket | VAUBAAN_BACKUP_S3_BUCKET | string | — | —; 3 to 63 lower-case letters, digits, ., -; setting it (with the other required keys) turns the scheduled backup on |
backup.s3.prefix | VAUBAAN_BACKUP_S3_PREFIX | string | — | —; literal, not starting with /, at most 512 characters |
backup.s3.path_style | VAUBAAN_BACKUP_S3_PATH_STYLE | boolean | false | — |
backup.s3.access_key_id | VAUBAAN_BACKUP_S3_ACCESS_KEY_ID | string | — | —; required with the other backup.s3.* keys |
backup.s3.secret_access_key | VAUBAAN_BACKUP_S3_SECRET_ACCESS_KEY, VAUBAAN_BACKUP_S3_SECRET_ACCESS_KEY_FILE | secret | — | —; required with the other backup.s3.* keys |
backup.every | VAUBAAN_BACKUP_EVERY | duration | 24h | at most 86400 s; at least 1h, and it divides a day |
backup.at | VAUBAAN_BACKUP_AT | string | 03:00 | —; HH:MM, UTC |
backup.keep | VAUBAAN_BACKUP_KEEP | integer | 0 | 0 to 10000; 0 keeps every backup |
telemetry.enabled | VAUBAAN_TELEMETRY_ENABLED | boolean | false | — |
telemetry.level | VAUBAAN_TELEMETRY_LEVEL | enum | usage-stats | plugin-health, usage-stats |
telemetry.collector_url | VAUBAAN_TELEMETRY_COLLECTOR_URL | URL | https://telemetry.vaubaan.com/v1/reports | https; a query is allowed (the collector's public key as ?apikey=) |
retention_days | VAUBAAN_RETENTION_DAYS | integer | 90 | >= 1 |
sessions.lifetime_hours | VAUBAAN_SESSION_LIFETIME_HOURS | integer | — | 1 to 720; absent: what an administrator set on Setup, else 24 |
requests.expiry | VAUBAAN_REQUEST_EXPIRY | duration | 24h | — |
approvals.expiry | VAUBAAN_APPROVAL_EXPIRY | duration | 10m | — |
trust_raise.after_approvals | VAUBAAN_TRUST_RAISE_AFTER_APPROVALS | integer | 10 | >= 1 |
mcp.rate_limit_per_minute | VAUBAAN_MCP_RATE_LIMIT_PER_MINUTE | integer | 600 | >= 1 |
execution.call_timeout_seconds | VAUBAAN_EXECUTION_CALL_TIMEOUT_SECONDS | integer | 120 | >= 1; in seconds |
git.max_pack_mb | VAUBAAN_GIT_MAX_PACK_MB | integer | 200 | 1 to 4096; in mebibytes |
git.request_timeout | VAUBAAN_GIT_REQUEST_TIMEOUT | duration | 10m | at most 3600 s |
accounts.refresh_interval | VAUBAAN_ACCOUNTS_REFRESH_INTERVAL | duration | 1h | at most 86400 s; 0 turns the automatic refresh off (hourly and on open), else at least 15m |
limits.users | VAUBAAN_LIMITS_USERS | integer | — | >= 1; absent: unlimited; under the current count: accepted, nothing is cut |
limits.accounts | VAUBAAN_LIMITS_ACCOUNTS | integer | — | >= 1; absent: unlimited; the old name limits.connections / VAUBAAN_LIMITS_CONNECTIONS is refused |
limits.active_missions | VAUBAAN_LIMITS_ACTIVE_MISSIONS | integer | — | >= 1; absent: unlimited |
ops.token | VAUBAAN_OPS_TOKEN, VAUBAAN_OPS_TOKEN_FILE | secret | — | at least 32 characters; absent: GET /ops/stats answers 404 |
plugins.dir | VAUBAAN_PLUGINS_DIR | string | — | —; the image sets /plugins (VAUBAAN_PLUGINS_DIR in the Dockerfile); a directory per pinned plugin |
plugins.enabled | VAUBAAN_PLUGINS_ENABLED | list | — | —; plugin ids; absent or blank: every plugin; an id neither compiled, pinned, installed nor in the catalog stops the boot |
plugins.allow_unsigned | VAUBAAN_PLUGINS_ALLOW_UNSIGNED | list | — | —; plugin ids; none by default; no interface sets it |
plugins.safe_mode | VAUBAAN_PLUGINS_SAFE_MODE | boolean | false | — |
plugins.private_hosts | VAUBAAN_PLUGINS_PRIVATE_HOSTS | list | — | —; host names (exact), IP addresses and CIDR ranges plugins may reach inside the network; none by default; a malformed entry stops the boot |
updates.check | VAUBAAN_UPDATES_CHECK | boolean | true | — |
updates.feed_url | VAUBAAN_UPDATES_FEED_URL | URL | https://vaubaan.com/versions.json | https |
docs.url | VAUBAAN_DOCS_URL | URL | https://vaubaan.com/docs | https |
log.level | VAUBAAN_LOG_LEVEL | enum | info | debug, info, warn, error |
Source: the "Configuration keys" table of docs/handbook/configuration.md, which also says which part of the code reads each key.
Last changed 2026-12-02. This page as Markdown: /docs/configuration/keys.md