Why this matters
Managed key lifecycles meet SOC 2 encryption expectations.
Use a KMS client to derive DEKs and encrypt sensitive blobs; rotate CMKs annually and re-encrypt on rotation.
Managed key lifecycles meet SOC 2 encryption expectations.
Side-by-side examples engineers can pattern-match during review.
val secret = plain.toByteArray(); store(secret)val ct = kms.encrypt(deriveDek(), plain); store(ct)kms.encrypt(key, data)store(data)From the same buckets as this rule.
Public services must require TLSv1.2 or higher and set HSTS (max-age ≥ 15552000, includeSubDomains). Reject plaintext HTTP and weak ciphers; cookies must be Secure and HttpOnly with SameSite set.