In depth
Envelope encryption is the standard pattern for storing many secrets without ever decrypting them en masse. Each credential row carries a per-row data encryption key (DEK), the DEK is encrypted with a master key (KEK) held by your KMS. To use a credential, the runtime asks the KMS to unwrap the DEK, then uses the DEK to decrypt the secret. The KEK never leaves the KMS, the DEKs never live unencrypted on disk.
Related concepts
Newsletter
Get the next post in your inbox.
Engineering notes from the Digitorn team. No marketing, no launch announcements, no "10 prompts that will change your life". Just the things we write that we'd want to read.