Encryption & key management
Choose an encryption model, bring your own key, and replace environment keys safely.
Every environment has its own encryption key. Secret keys, values, comments, history and personal overrides are encrypted with it.
- Server-side encrypted apps: the service holds a copy of the environment key, protected by its root key (in a KMS in production), so it can serve values to the API, integrations and rotation.
- End-to-end encrypted apps: only members and service accounts that were given the environment key can decrypt. The service stores ciphertext only.
Your own key (BYOK)#
The organisation owner can protect the organisation's server-side keys with a key in the organisation's own AWS KMS or Vault/OpenBao (Settings → Organisation → Encryption key). Every server-side encrypted secret and integration credential then depends on that key too. If you disable or delete it in your KMS, those secrets become unreadable within minutes; re-enabling it restores access. Deleting it is permanent.
Replacing an environment's key#
After someone with access leaves, or if a key may have been exposed, replace the environment's key in Manage environment → Environment key. Every value is re-encrypted and every current member and service account receives the new key; legacy environment tokens stop working.
- Server-side encrypted apps: the service does it and accepts the old key for a grace period, so open tabs and running clients keep working.
- End-to-end encrypted apps: your browser re-encrypts everything; keep the page open until it finishes, and ask others to reload.
Replacing the key protects what is stored. If values may already have been read, rotate the secrets themselves as well.