Skip to main content

Environment variables

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

Authentication​

VariableDescription
KOBANA_TOKENToken of the product you will call (Bearer). Not shared between products
KOBANA_CREDENTIALS_FILEPath to an OAuth credentials JSON file
KOBANA_CLIENT_IDOAuth client ID (Banking Gateway)
KOBANA_CLIENT_SECRETOAuth client secret (Banking Gateway)

Configuration​

VariableDescription
KOBANA_CONFIG_DIRConfiguration directory (default: ~/.config/kobana)
KOBANA_ENVIRONMENTproduction (default) or development. Kadu has no sandbox

Logs​

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

Next steps​

  • Authentication — resolution order and per-product credentials.
  • Exit codes — process exit codes, for scripts.