How to Distribute Keys Securely for 20% of the Web
summary
Cloudflare builds a horizontally replicated KMS: a central core that creates managed keys and hundreds of edge KMS replicas which synchronize key rings and policies, protected in FIPS 140-2 L3 HSMs and authenticated with TPM endorsement certificates. Applications fetch wrapped keys via the Linux kernel keystore using request_key; decrypted data keys cache in kernel memory encrypted with TPM-wrapped cache keys. Design aims for global availability across ~285 cities and sub-50ms targets, trading single-region catastrophe for local resilience and low-latency cryptographic ops.
AI-written summary · about
chapters (6)
- 0:00Introduction and speaker background
- 1:06Key management challenges overview
- 8:14Distributed KMS architecture design
- 17:04Local key distribution and security
- 32:23Putting it all together workflows
- 35:38Summary and Q&A
related talks
51mKey Management 101: DEKs, KEKs, and Credentials Living Together, Oh My!
51mUsing Key Management Service for data protection
33mManaging Server Secrets at Scale with a Vaultless Password Manager
38mKeylime, Securing your Slice of the Cloud.
28mYour Secrets in Cloud-Based Key Management Services
45mLet's Encrypt Everything, Really Everything
20mUnderstanding the shared responsibility model and AWS KMS XKS
15mSecret Key Recovery in a Global-Scale End-to-End Encryption System
