Skip to main content

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/krane/config.go. Krane enables the secrets RPC only when vault.url is set. Other features run without Vault. Minimal config example:
string
Instance identifier for logs and tracing.
object
required
Identity of the infrastructure cell managed by this Krane agent.
int
default:"8070"
RPC server port.
object
Registry credentials. The krane runtime does not read this config today.
object
Vault connection for the secrets service.
object
Control plane connection.
object
Tracing, logging, and metrics configuration.

Example configuration