Skip to content

Environment Variables

This package uses environment variables. The schema for these variables is as follows:

VariableDescriptionTypeRequired
LOG_LEVELMinimum Winston log level for console output (error, warn, info, verbose, debug, silly). HTTP access lines via Morgan are unaffected.string
ADMIN_EMAILSComma-separated list of emails who will get the 'admin' scope. Emails must be validated to receive this scope.stringYes
SAF_INTERNAL_ASSERTION_KEYSHMAC keys for signing/verifying internal identity assertions. Format: keyId:base64secret[,keyId:base64secret]. Sign with the first entry; verify against all (rotation = prepend a new key). Sentinel mock (e.g. Infisical mock placeholder) expands to a fixed local key. Optional — only required in environments that use the internal request channel.string