--- tags: - Documentation - Bookstack - Notes --- # Web Application Firewall (WAF) # SOCFortess # SOCFortress Docs # WAF Management Platform
| Variable | Purpose | How to generate |
|---|---|---|
| `POSTGRES_PASSWORD` | Database password | `openssl rand -hex 32` |
| `SECRET_KEY` | JWT signing key | `python3 -c "import secrets; print(secrets.token_hex(32))"` |
| `TOTP_ENCRYPTION_KEY` | TOTP secret encryption | `python3 -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"` |
| `BOOTSTRAP_ADMIN_EMAIL` | First superadmin email | Any valid email |
| `BOOTSTRAP_ADMIN_PASSWORD` | First superadmin password | Strong password — **change after first login** |
| `ALLOWED_ORIGINS` | CORS origins | `https://localhost:8443` for the default local deploy |