PrepCity

Encryption in transit and at rest

Route · 26 of 34Route 26 / 34, see the whole routeOpen the lab

By the last page, this is the design you will have built.

Route · step 26 of 34 · 13 pages · about 11 min

Encryption in transit and at rest

A sniffed Wi-Fi or a stolen backup can expose every customer. TLS protects data on the network; AES-256-GCM with keys in a KMS protects it on disk and in backups. Envelope keys, rotation and crypto-shredding make it work at scale, and none of it stops an attacker who goes through the app.

New words you’ll learn

  • mTLS
  • Encryption at rest
  • Tampering
  • Envelope encryption
  • Git commit
  • Secret manager
  • HashiCorp Vault
  • GDPR
  • Retention
  • Crypto-shredding

Page by page