Skip to the content
Vaubaan Gateway
Docs menu

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.

KeyEnvironment variableTypeDefaultAccepted values
public_urlVAUBAAN_PUBLIC_URLURLrequiredhttps; no query or fragment; a trailing / is stripped, a sub-path is kept
localVAUBAAN_LOCALbooleanfalse—; 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_nameVAUBAAN_INSTANCE_NAMEstring—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_proxiesVAUBAAN_TRUSTED_PROXIESlist——; each entry an IP address or a CIDR block (prefix 0–32 for IPv4, 0–128 for IPv6)
self_resourcesVAUBAAN_SELF_RESOURCESlist——; 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_headerVAUBAAN_CLIENT_IP_HEADERenum—x-real-ip, cf-connecting-ip, true-client-ip, fly-client-ip; not together with trusted_proxies; off by default
accept_shared_address_windowsVAUBAAN_ACCEPT_SHARED_ADDRESS_WINDOWSbooleanfalse—; read only with NODE_ENV=production
store.pathVAUBAAN_STORE_PATHstringrequired—; not empty
restore.fromVAUBAAN_RESTORE_FROM, VAUBAAN_RESTORE_FROM_FILEsecret——; an https URL (a redirect only to https, five at most) or an absolute file path; http refused; never echoed nor logged
restore.sha256VAUBAAN_RESTORE_SHA256string——; 64 hexadecimal characters; required with restore.from
restore.max_mbVAUBAAN_RESTORE_MAX_MBinteger10241 to 65536; in mebibytes
encryption.master_keyVAUBAAN_MASTER_KEY, VAUBAAN_MASTER_KEY_FILEsecretrequired—; exactly 32 bytes, in base64 or base64url
encryption.key_versionVAUBAAN_MASTER_KEY_VERSIONinteger1>= 1
encryption.previous_keysVAUBAAN_MASTER_KEY_PREVIOUS, VAUBAAN_MASTER_KEY_PREVIOUS_FILEsecret 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_keyVAUBAAN_MASTER_KEY_GENERATEbooleanfalse—
encryption.accept_key_beside_storeVAUBAAN_ACCEPT_KEY_BESIDE_STOREbooleanfalse—
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.groupVAUBAAN_ADMIN_GROUPstring——; 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.emailsVAUBAAN_ADMIN_EMAILSlist——; 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_tokenVAUBAAN_BOOTSTRAP_TOKEN, VAUBAAN_BOOTSTRAP_TOKEN_FILEsecretrequired while no sign-in provider is setat least 32 characters; refused once bootstrap.revoked_at is set in the store
mail.smtp_hostVAUBAAN_MAIL_SMTP_HOSTstring——; with mail.from, the whole mail.* block or none of it
mail.smtp_portVAUBAAN_MAIL_SMTP_PORTinteger5871 to 65535
mail.smtp_userVAUBAAN_MAIL_SMTP_USERstring——; with mail.smtp_password, both or neither
mail.smtp_passwordVAUBAAN_MAIL_SMTP_PASSWORD, VAUBAAN_MAIL_SMTP_PASSWORD_FILEsecret——
mail.fromVAUBAAN_MAIL_FROMstring——; an address, or Name <address>
mail.tlsVAUBAAN_MAIL_TLSenumstarttlsstarttls, implicit, none
backup.s3.endpointVAUBAAN_BACKUP_S3_ENDPOINTURL——; 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.regionVAUBAAN_BACKUP_S3_REGIONstring——; required with the other backup.s3.* keys
backup.s3.bucketVAUBAAN_BACKUP_S3_BUCKETstring——; 3 to 63 lower-case letters, digits, ., -; setting it (with the other required keys) turns the scheduled backup on
backup.s3.prefixVAUBAAN_BACKUP_S3_PREFIXstring——; literal, not starting with /, at most 512 characters
backup.s3.path_styleVAUBAAN_BACKUP_S3_PATH_STYLEbooleanfalse—
backup.s3.access_key_idVAUBAAN_BACKUP_S3_ACCESS_KEY_IDstring——; required with the other backup.s3.* keys
backup.s3.secret_access_keyVAUBAAN_BACKUP_S3_SECRET_ACCESS_KEY, VAUBAAN_BACKUP_S3_SECRET_ACCESS_KEY_FILEsecret——; required with the other backup.s3.* keys
backup.everyVAUBAAN_BACKUP_EVERYduration24hat most 86400 s; at least 1h, and it divides a day
backup.atVAUBAAN_BACKUP_ATstring03:00—; HH:MM, UTC
backup.keepVAUBAAN_BACKUP_KEEPinteger00 to 10000; 0 keeps every backup
telemetry.enabledVAUBAAN_TELEMETRY_ENABLEDbooleanfalse—
telemetry.levelVAUBAAN_TELEMETRY_LEVELenumusage-statsplugin-health, usage-stats
telemetry.collector_urlVAUBAAN_TELEMETRY_COLLECTOR_URLURLhttps://telemetry.vaubaan.com/v1/reportshttps; a query is allowed (the collector's public key as ?apikey=)
retention_daysVAUBAAN_RETENTION_DAYSinteger90>= 1
sessions.lifetime_hoursVAUBAAN_SESSION_LIFETIME_HOURSinteger—1 to 720; absent: what an administrator set on Setup, else 24
requests.expiryVAUBAAN_REQUEST_EXPIRYduration24h—
approvals.expiryVAUBAAN_APPROVAL_EXPIRYduration10m—
trust_raise.after_approvalsVAUBAAN_TRUST_RAISE_AFTER_APPROVALSinteger10>= 1
mcp.rate_limit_per_minuteVAUBAAN_MCP_RATE_LIMIT_PER_MINUTEinteger600>= 1
execution.call_timeout_secondsVAUBAAN_EXECUTION_CALL_TIMEOUT_SECONDSinteger120>= 1; in seconds
git.max_pack_mbVAUBAAN_GIT_MAX_PACK_MBinteger2001 to 4096; in mebibytes
git.request_timeoutVAUBAAN_GIT_REQUEST_TIMEOUTduration10mat most 3600 s
accounts.refresh_intervalVAUBAAN_ACCOUNTS_REFRESH_INTERVALduration1hat most 86400 s; 0 turns the automatic refresh off (hourly and on open), else at least 15m
limits.usersVAUBAAN_LIMITS_USERSinteger—>= 1; absent: unlimited; under the current count: accepted, nothing is cut
limits.accountsVAUBAAN_LIMITS_ACCOUNTSinteger—>= 1; absent: unlimited; the old name limits.connections / VAUBAAN_LIMITS_CONNECTIONS is refused
limits.active_missionsVAUBAAN_LIMITS_ACTIVE_MISSIONSinteger—>= 1; absent: unlimited
ops.tokenVAUBAAN_OPS_TOKEN, VAUBAAN_OPS_TOKEN_FILEsecret—at least 32 characters; absent: GET /ops/stats answers 404
plugins.dirVAUBAAN_PLUGINS_DIRstring——; the image sets /plugins (VAUBAAN_PLUGINS_DIR in the Dockerfile); a directory per pinned plugin
plugins.enabledVAUBAAN_PLUGINS_ENABLEDlist——; plugin ids; absent or blank: every plugin; an id neither compiled, pinned, installed nor in the catalog stops the boot
plugins.allow_unsignedVAUBAAN_PLUGINS_ALLOW_UNSIGNEDlist——; plugin ids; none by default; no interface sets it
plugins.safe_modeVAUBAAN_PLUGINS_SAFE_MODEbooleanfalse—
plugins.private_hostsVAUBAAN_PLUGINS_PRIVATE_HOSTSlist——; host names (exact), IP addresses and CIDR ranges plugins may reach inside the network; none by default; a malformed entry stops the boot
updates.checkVAUBAAN_UPDATES_CHECKbooleantrue—
updates.feed_urlVAUBAAN_UPDATES_FEED_URLURLhttps://vaubaan.com/versions.jsonhttps
docs.urlVAUBAAN_DOCS_URLURLhttps://vaubaan.com/docshttps
log.levelVAUBAAN_LOG_LEVELenuminfodebug, 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