Documentation
Docs Home › Configuration › Environment Variables

Environment Variables

Environment variable reference

zwallctl

Scroll sideways to see the full table. Use the arrow keys when focused.

VariablePurposeSecretEdition
ZWALL_MANAGER_URLManager API URLnoShared
ZWALL_AUTH_TOKENJWTyesShared
ZWALL_PIN_DIReBPF pin dirnoShared
ZWALL_OUTPUT_MODEtable/json/quietnoShared
ZWALL_VERBOSEtrue enables verbosenoShared

Source: zwallctl environment merge (ZWALL_* as listed).

Community Manager JWT

Community Manager requires JWT_SECRET in the process environment (it exits if missing). That is not the Enterprise systemd-credential contract.

Enterprise Manager secrets (env, `*_FILE`, or `$CREDENTIALS_DIRECTORY`)

Verified names include JWT_SECRET / jwt_secret, DB_PASSWORD / database_password, ADMIN_INITIAL_PASSWORD / admin_initial_password, plus optional SMTP, Cloudflare, MaxMind, captcha, ModSecurity webhook, ACME DNS JSON, cluster, and AI key slots. In ZWALL_REQUIRE_SYSTEMD_CREDENTIALS=true production custody, YAML/env fallbacks are rejected.

Non-secret overrides exist as ZCS_* / DB_* / LOG_LEVEL (see applyEnvironmentOverrides in Manager config). Prefer the admitted unit EnvironmentFile (/etc/zwall-manager/manager-nonsecret.env) over inventing a public env encyclopedia.

Scroll sideways to see the full table. Use the arrow keys when focused.

VariablePurposeSecretEdition
ZWALL_REQUIRE_SYSTEMD_CREDENTIALSReject YAML secret fallbacksnoENTERPRISE
CREDENTIALS_DIRECTORYsystemd credential diryes (directory)ENTERPRISE
JWT_SECRET / jwt_secretAdmin JWT HMACyesSHARED/ENTERPRISE
DB_PASSWORD / database_passwordPostgreSQL passwordyesSHARED/ENTERPRISE
ADMIN_INITIAL_PASSWORD / admin_initial_passwordFirst-install adminyesSHARED/ENTERPRISE

Enterprise database installer

Scroll sideways to see the full table. Use the arrow keys when focused.

VariablePurpose
DB_PASSWORDscoped installer password; not inherited by the Manager service

Hosting Agent unit

Scroll sideways to see the full table. Use the arrow keys when focused.

VariablePurposeSecret
ZWALL_AGENT_INSTANCE_LOCK/run/zwall-hosting-agent/agent.lockno
ZWALL_AGENT_STATE_DIR/var/lib/zwall-hostingno
HOME/var/lib/zwall-hostingno
ZWALL_AGENT_CREDENTIAL_PATH/var/lib/zwall-hosting/agent.identityyes (path to identity)
ZWALL_HOSTING_EBPF_SHA256loader object digest (hosting-ebpf.env)no
ZWALL_HOSTING_INTERFACESloader attach listno

Agent bootstrap

Scroll sideways to see the full table. Use the arrow keys when focused.

VariablePurposeSecret
AGENT_TOKENone-time bootstrap JWT (preferred over YAML server.token)yes