Skip to main content

Environment variables

All variables can also be set in a .env file (loaded via dotenvy).

Authentication​

VariableDescription
KOBANA_TOKENBearer access token (highest priority)
KOBANA_CREDENTIALS_FILEPath to an OAuth credentials JSON file
KOBANA_CLIENT_IDOAuth client ID (for kobana auth login)
KOBANA_CLIENT_SECRETOAuth client secret
KOBANA_INBOX_CLIENT_CERTPath to a PEM client certificate (chain + private key) for the inbox product, which sits behind mTLS

Configuration​

VariableDescription
KOBANA_CONFIG_DIROverride the config directory (default: ~/.config/kobana)
KOBANA_ENVIRONMENTsandbox (default) or production

Logging​

VariableDescription
KOBANA_LOGLog level filter for stderr (e.g. kobana=debug). Off by default.
KOBANA_LOG_FILEDirectory for JSON log files with daily rotation. Off by default.

Next steps​