Ask whether a system is secure and someone will tell you it is encrypted, as though that settles it. It rarely does. Encryption is real and necessary, but "encrypted" answers a specific, narrow question, who holds the key, and against which threat?, and many breaches walk straight past the encryption because they were never the threat it defended against.

Cloud encryption comes in two broad flavours, defending against two different attackers. Encryption at rest protects data written to disk, block volumes, object storage, database files, snapshots, against someone who obtains the physical or raw storage. Encryption in transit protects data moving across a network, using TLS, against someone who can intercept the traffic. They are complementary, and neither substitutes for the other.

What at-rest encryption does and does not stop

Encryption at Rest and in Transit: What 'Encrypted' Really MeansDiagram with these labels, in reading order: ATTACKER; STORAGE SERVICE; PLAINTEXT; valid creds; authorized read; decrypts for it; Attacker with; stolen credentials; Authorized; API read; Encryption at rest; Storage service; decrypts; transparently; Plaintext; returned; At-rest encryption; does nothing vs a; valid credential.ATTACKERSTORAGE SERVICEPLAINTEXTvalid credsauthorized readdecrypts for itAttacker withstolen credentialsAuthorizedAPI readEncryption at restStorage servicedecryptstransparentlyPlaintextreturnedAt-rest encryptiondoes nothing vs avalid credential
At-rest encryption decrypts for any authorized identity, including a stolen one.

Here is the part that surprises people. In the cloud, at-rest encryption is usually transparent: the platform decrypts data automatically for any identity authorized to read it. That is the whole point, your application does not manage keys. But it also means at-rest encryption does nothing against an attacker using valid credentials. A leaked access key that can read a bucket reads the plaintext, because the service decrypts on the authorized request. At-rest encryption defends against lost drives and raw-storage access, and offers nothing against credential theft, a common cause of cloud breaches.

Why it matters: At-rest encryption checks a compliance box and stops a narrow class of attack. It does not protect data from anyone with permission to read it, and a cloud attacker with stolen credentials becomes exactly that.

Who holds the key

The security of encryption reduces to key management, and the cloud offers a spectrum. Provider-managed keys are convenient and invisible but give you no control over key access. Customer-managed keys, in AWS KMS, Azure Key Vault, or Cloud KMS, let you write key policies, audit every use, and revoke access, which is what turns encryption from a checkbox into a control. Customer-supplied keys and external key stores go further, keeping key material outside the provider entirely, at real operational cost. Choose the point on that spectrum from your threat model rather than from which option sounds strongest.

  • Provider-managed keys. Little effort and little control, with no per-request authorization you can revoke. Amazon S3, for example, has applied SSE-S3 to every new object since 5 January 2023. Fine for low-sensitivity data.
  • Customer-managed keys. You control the key policy and see every Decrypt in the audit log, the practical default for sensitive data.
  • External / customer-supplied keys. Key material never lives with the provider; maximum control, maximum operational burden.

In transit: encrypted is not the same as verified

TLS protects data in transit, but only if it is enforced and the endpoint is authenticated. Downgrade to plaintext, an unvalidated certificate, or internal "east-west" traffic left unencrypted all defeat it. In a zero-trust cloud network you cannot assume the internal network is safe, so in-transit encryption belongs on service-to-service calls as well as the public edge.

Enforce it, don't merely enable itS3 bucket policy: Deny when aws:SecureTransport = false → reject any request that is not TLS, instead of hoping clients opt in

Encryption is a floor. Turn it on everywhere, at rest and in transit, enforced and not optional, and do not let the word do more work than it can. The data an attacker reads with stolen credentials was encrypted the whole time. What actually protects it is knowing where it lives and who can decrypt it, which brings you back to the same starting line:

Back to the knowledge baseRequest an assessment