Skip to main content

Environment variables

Every variable can also be set in a .env file (loaded via dotenvy).

Authentication​

VariableDescription
KOBANA_TOKENBearer token for the product you are calling. Not shared across products
KOBANA_CREDENTIALS_FILEPath to an OAuth credentials JSON file
KOBANA_CLIENT_IDOAuth client ID (Banking Gateway)
KOBANA_CLIENT_SECRETOAuth client secret (Banking Gateway)
KOBANA_INBOX_CLIENT_CERTPath to the PEM (certificate + key) used for the inbox product's mTLS

Configuration​

VariableDescription
KOBANA_CONFIG_DIROverride the config directory (default: ~/.config/kobana)
KOBANA_ENVIRONMENTproduction (default), sandbox or development

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​