Security Settings
TLS, encryption at rest, the audit log and rate limits.
HTTPS
server:
tls:
cert_file: /run/secrets/gateway.crt
key_file: /run/secrets/gateway.keyWith server.tls set the gateway serves TLS 1.3 only, sends HSTS, and reloads renewed certificates on SIGHUP. The link to the protocol engine is TLS 1.3 with optional mutual TLS. Connections to third-party peers (brokers, SMTP) have a TLS 1.2 floor.
Encryption at rest
One AES-256 key (FABCONNECT_ENCRYPTION_KEY_FILE) seals secrets the gateway stores (TOTP seeds, integration credentials, webhook secrets) and every entry in the durable buffer. Telemetry tables stay queryable and are protected by encrypting the PostgreSQL volume (LUKS). rotate-key re-seals every stored secret with a new key in one transaction. Keys come from a file or the environment.
Audit log
Control actions, configuration changes, sign-ins (successful and failed), permission denials, role creation, updates and deletion, users’ role assignments, deactivation and deletion, and Verify runs are recorded with the actor, target and outcome, in a per-tenant hash chain.
GET /api/v1/audit?action=equipment.command&limit=50
GET /api/v1/audit/verify?from=2026-10-12T00:00:00Z/audit/verify recomputes the chain and reports where it breaks. Rows written before 12 October 2026 used an earlier hash form and do not verify; check from a later start time.
Rate limiting
rate_limit:
enabled: true
requests_per_minute: 60