Key management is the custody chain of your encryption: how cryptographic keys are generated, where they are stored, how often they rotate, who and what is permitted to use them, and how they are destroyed at end of life. Encryption math is essentially unbreakable when done with standard algorithms; in practice systems are compromised through the keys, not the ciphers. So the strength of your at-rest and in-transit protection is, in real terms, the strength of your key custody. Keys typically live in a dedicated key management service (KMS) or hardware security module (HSM) precisely so they are never sitting next to the data they protect.
The architectural goal is separation of duties. A database administrator should be able to touch the ciphertext but not the keys; a key administrator should be able to manage keys but not read the data. Compromise of any single role then yields nothing readable — an attacker needs to subvert two independent controls at once. Scoped usage permissions, rotation schedules, and auditable key access make this real rather than aspirational.
For a telemedicine team the regulatory stakes are unusually crisp here. Under the HIPAA Breach Notification Rule, PHI that was properly encrypted and whose keys were not compromised is generally not a reportable breach — the data is unreadable to whoever took it. That makes key custody literally the difference between a contained security incident and a public notification event with regulators and patients. The common mistake is encrypting diligently while leaving keys poorly controlled — a long-lived key in a config file or an over-permissioned KMS policy quietly negates the entire protection.


The handbook · 7 volumes
Fora Soft Video Engineering Handbook
Key management decides who can actually decrypt recordings and streams, so it matters more than the encryption algorithm itself. Our seven-volume handbook covers the whole video stack, and for key management start with Volume 3: DRM, WebRTC, players and delivery. Volume 2 covers transport and Volume 7 serving infrastructure. Written by Nikolay Sapunov, CEO at Fora Soft.
Unsure who can decrypt your consult recordings under your key management setup?
We will review key custody for your recordings and streams and give you a key management design with KMS, rotation and access rules. 250+ video products shipped since 2005.