Figure SEC-6 · Stored data
Keys and what each protects
One system key, what it encrypts, what is hashed instead, and what is only masked on the way out
APP_KEY
In the
.env
file
Database
Encrypted with APP_KEY
Device and enable passwords
Credential sets and SSH keys
Integration and vault secrets
AI provider keys
SMTP, LDAP and RADIUS secrets
Sessions
API and MCP tokens:
stored as SHA-256 hashes, not with the key
Storage folder
Files on disk
Saved configs (file content)
Metadata (names, dates, paths) stays clear
only when config encryption is on
MASK_DEVICE_
CREDENTIALS
Masks credential fields
Config obfuscation
Masks secrets in config text and diffs at render time. Files unchanged
OUTPUT · MASKED ON THE WAY OUT
Output
What people and clients see
Browser
Screens, config views and diffs
API client
API responses
Masking changes what is shown. It does not change what is stored.
Backups
What leaves the server
Database dump
Storage archive
apart
.env
/
APP_KEY
kept apart
A separate, locked location
Encrypted with APP_KEY
Hashed instead
Masked at output only
Optional encryption
Lose APP_KEY and everything it encrypted is unrecoverable