Space Works · Platform administration
Encryption keys and row-level security
A space's encryption keys
- In
/control/, open the space and follow Rotate or re-key. The page is Encryption keys. - Read the active data key and search key versions.
- Rotate the key: new data uses a new key at once and older records are re-encrypted in the background.
- Emergency re-key does the same and tells the space's managers when it starts and finishes.
- Rotate the search key re-indexes the space. Issue a new browser key replaces the public site key; the old one keeps working for 72 hours.
- Confirm your identity, then watch Recent key jobs.
One job runs per space at a time, every action is audited in the space, and backups stay restorable.
Row-level security
The database itself can keep spaces apart, as a backstop behind the app's own checks.
- In
/control/, open Row-level security and read the mode: Enforced, Report-only, Inactive or Off. - Report-only means the app connects as the database owner: switch it to the narrower bundled app role to enforce.
- Inactive means the role bypasses the rules (a superuser, or one allowed to bypass them).
- If any tables are missing their rules, sync them (migrations do this too) and check again in strict mode.
The app always starts, whatever the mode; report-only logs cross-space reads without stopping them. Never set the probe role on a production server.
Who can do this: the host operator, signed in as the platform superadmin.
From SpaceWorks/frontend/src/help-content/en/host-operator/keys-and-row-level-security.md at c447a11, updated 2026-11-16. Suggest a change