Encryption at Rest and in Transit: The Actual Case, and What It Costs You

Encryption at Rest and in Transit: The Actual Case, and What It Costs You

Why encryption isn't optional, what it does and doesn't protect against, and the real tradeoffs — key management overhead, performance, and the false sense of security it can create.

Every cheat sheet in this pillar has an encryption line item buried in it — SSE-S3 here, a Key Vault reference there. This piece is why that line item exists at all, what it's actually defending against, and where it stops helping.

Two different jobs, often conflated

Data at rest is anything sitting on a disk, in a database, in object storage — data that isn't currently moving. Encrypting it protects against someone getting hold of the storage medium or the backend directly: a stolen drive, a misconfigured backup, a cloud storage bucket left public, a database snapshot that leaks. Without it, physical or backend access to the storage is the same as reading the data in plaintext.

Data in transit is anything moving across a network — a request to an API, a file upload, replication traffic between regions. Encrypting it (TLS, in practice) protects against someone positioned on the network path: a man-in-the-middle attack, a compromised router, unencrypted Wi-Fi, an attacker who's gotten a foothold inside a VPC and is now sniffing internal traffic that everyone assumed was "safe because it's internal."

That last point is where a lot of otherwise-solid setups quietly fail: TLS enforced at the public-facing load balancer, and plaintext HTTP everywhere behind it, on the assumption that internal network traffic doesn't need protecting. It does. "Internal" isn't a security boundary, it's a network topology — and once an attacker has any foothold inside it, unencrypted internal traffic is free reconnaissance.

The stakes, with real numbers

IBM's 2026 Cost of a Data Breach report puts the global average cost of a breach at $4.99 million — a record, up 12% year over year. Buried in that report is the actual encryption story:

Read that together and the picture is blunt: most breached organizations weren't fully encrypting their data, and the ones that were paid less when something went wrong anyway. Encryption doesn't prevent a breach — it changes what an attacker actually gets when one happens.

How it's actually built: envelope encryption

Almost every cloud key-management service — AWS KMS, Azure Key Vault, GCP Cloud KMS — implements the same underlying pattern, and it's worth understanding rather than treating as a black box:

This is envelope encryption, and it's the pattern NIST and the Cloud Security Alliance both recommend. The reason it exists: encrypting large volumes of data directly against a KMS key would mean every single encrypt/decrypt operation is a network round-trip to the KMS. Envelope encryption means the KMS is only ever touched to unwrap a small key, not to process the actual data — the expensive part happens locally and fast, and the sensitive part (the master key) never leaves a hardened, access-controlled service.

The baseline worth actually enforcing

The tradeoffs — because there are real ones


Sources: IBM — Cost of a Data Breach Report 2026 · AWS — About AWS KMS keys / envelope encryption · AWS KMS — Client-side encryption

Marselis A. Reed

Marselis A. Reed

B.S. in Computer Science, with 10 years of production experience — including 5 years in healthcare information security.

Get the Next Issue

Cloud hardening, vendor watch, and OSS tooling — every week.