Skip to content
PlatformMarkdown

Data

Where your realm's data lives, how it is sealed, and how long it is kept.

Every record the realm keeps belongs to that realm alone, so one realm’s data never appears in another’s answers. The most sensitive of it is sealed under the realm’s own storage key; passwords and secrets are kept only as one-way hashes. What expires is cleared by itself, and what is a record, the audit trail above all, is kept for the life of the realm. Nothing yet keeps a backup to restore from: see what’s coming next.

CapabilityWhat it gives you
Realm-scoped storageEvery record belongs to one realm, and is answered only within it
A copy at every siteEach site holds the realm’s data, so losing one loses nothing
CapabilityWhat it gives you
Encryption of stored dataSign-ins, held tokens and sensitive fields sealed under the realm’s storage key
Fields of your own, sealedMark a field x-encrypt or x-hash and it is sealed or hashed on every write
One-way hashesPasswords and client secrets never stored, only hashed
CapabilityWhat it gives you
Automatic clean-upExpired sessions, lockouts, codes and shares cleared every five minutes
A deleted realm, purged on requestA deleted realm’s data and keys kept until you ask for them to be destroyed
Audit trail keptThe trail kept for the life of the realm

See What’s next for data:

  • Backups: point-in-time copies to restore from.