Documentation Index
Fetch the complete documentation index at: https://engineering.unkey.com/llms.txt
Use this file to discover all available pages before exploring further.
Configuration model
Unkey services read configuration from a TOML file passed at startup. Environment variables can be referenced with${VAR} and are expanded before parsing. Defaults and validation run after parsing.
The config schema maps to svc/frontline/config.go.
Minimal config example:
Instance identifier for logs and tracing.
Plain-HTTP listener port. Serves ACME HTTP-01 challenges and 308-redirects everything else to https://.
HTTPS listener port. Terminates TLS and forwards customer traffic to the sentinel.
Region label for routing.
Apex domain for regional routing.
Maximum number of routing hops.
Control API address.
Prometheus metrics port. Set to 0 to disable.
TLS settings for HTTPS.
MySQL configuration.
Vault connection.
Gossip-based cache invalidation.
Tracing and logging configuration.
Environment variables
The Helm chart provides these variables for the default config template:Region label.
Apex domain for routing.
Control API address.
Vault URL.
Vault token.
MySQL primary DSN.
MySQL read replica DSN.
Gossip secret key.

