Data retention and deletion
What we back up each night, and what happens to your data when you delete an account.
What we back up each night
We take a nightly backup of the service's data and configuration. We keep each backup 30 days.
Where your data is stored
RealmSSO's database holds these records.
- Accounts and connections.
- Each connection's encrypted OIDC client secret and the identity provider's SAML signing certificate.
- The encrypted private keys behind customer-issued SAML certificates.
- Hashed API keys, SCIM tokens and sign-in tokens.
- The audit log.
- Observability events, which RealmSSO purges after 90 days by default.
See Encryption and secrets for what is encrypted and what is hashed.
Each account's realm holds that customer's clients, identity provider (IdP) links and signing keys.
When you delete an account
Deleting an account also deletes its realm in the sign-in service, in a second step after the account. If that step fails, RealmSSO records the failure, and the realm can remain. RealmSSO also deletes the account's configuration and its audit log. Some other records stay, as the table shows.
| What | What happens when you delete the account |
|---|---|
| The account’s realm | Deleted in a second step, after the account. If that step fails, RealmSSO records the failure, and the realm can remain. |
| The account’s configuration and audit log in RealmSSO’s database | Deleted with the account. |
| Sign-in and sync events | Kept until the purge. The default is 90 days. They carry an email address and an IP address. |
| A record that the account was deleted, and an internal audit log of platform-level actions | Kept after the deletion. |
| Nightly backups | A deleted account can stay in the backups until each backup reaches 30 days. |