UprootSecurityUprootSecurity

Phase 4 · Cryptography + Encryption at Rest · Lesson 3 of 3

Design an Encryption-at-Rest Strategy for a Regulated SaaS

Exercise

·

20 min

·

+20 pts

An encryption-at-rest strategy is not "turn on encryption everywhere" — that part is easy and mostly automatic. The real work is judgment: deciding, data store by data store, which key tier the data warrants, who should be able to decrypt it, how the key rotates, and what evidence proves all of that to an auditor. The same intent — "protect the data" — produces different key decisions depending on data sensitivity, regulatory scope, and operational reality.

In this exercise you design the encryption-at-rest approach for Northwind Health, a ~250-person regulated SaaS that stores customer PII and protected health information (PHI) in AWS, with some workloads in GCP. Each scenario has one best answer; the explanation walks through the tradeoffs you will reuse when writing real key strategies. Work each the way you worked the MDM policy exercise in Phase 3: decide the control, then justify it with the evidence it produces.

The 'we use one KMS key for everything' architecture

The environment

Northwind has five data stores in scope:

  • A. Production PHI database — managed PostgreSQL holding patient records. Highest sensitivity; HIPAA in scope.
  • B. Application object storage — an S3 bucket of user-uploaded documents (some contain PII).
  • C. Database backups & snapshots — automated nightly snapshots of A, retained 35 days.
  • D. Analytics warehouse — a copy of de-identified data used by the data team; no direct identifiers.
  • E. Application logs — operational logs that occasionally capture PII in error payloads.

Scenario 1: Provider-managed vs customer-managed keys

Quick check

For the production PHI database (A), which key approach is most defensible, and why?

Scenario 2: Don't forget the backups

Quick check

The team encrypts database A with a CMK but the nightly snapshots (C) are still using default provider-managed encryption — or worse, an older snapshot set is unencrypted. Why does this matter, and what is the fix?

Scenario 3: One key for everything vs key separation

Quick check

An engineer proposes a single CMK used to encrypt all five data stores 'to keep things simple.' What is the better design, and why?

Scenario 4: Rotation cadence and separation of duties

Quick check

What rotation and key-administration approach is both effective and auditable for the PHI key?

Scenario 5: The evidence you will be asked for

Quick check

The auditor says: 'Show me that customer PHI is encrypted at rest and that access to decrypt it is controlled.' What package of evidence actually demonstrates this?

Putting it together: the key strategy matrix

A finished encryption-at-rest strategy is best expressed as a matrix — data stores down one axis, key decisions across the other. For Northwind it would look roughly like:

Data storeKey tierKey separationRotationKey evidence
A. PHI databaseCMK (dedicated PHI key)Admins ≠ decrypt usersAuto, defined cadenceKey policy + access log
B. PII object storageCMK (separate key)Scoped to app roleAutoCoverage report + access log
C. DB backups/snapshotsSame CMK as AInherits A's policyInherits ACoverage incl. historical snapshots
D. Analytics warehouseCMK (separate, lower-sensitivity key)Scoped to data teamAutoCoverage report
E. Application logsCMK + reduce PII at sourceScoped to logging pipelineAutoCoverage + log-scrubbing control

Two patterns to notice. First, the intent is identical across stores (encrypt, control decrypt access, rotate, prove it), but the key boundary changes with sensitivity and who needs access — a single key for everything would collapse those boundaries. Second, every decision is chosen for the evidence it produces: a CMK exists not just to encrypt but to make "who can decrypt this, and when" an answerable, logged question.

How to use this in practice

When you design or review an encryption-at-rest strategy as a GRC Engineer, work the same five questions for every data store: key tier (provider-managed vs CMK vs BYOK/HYOK), key separation/boundary, rotation, separation of duties on key administration, and the evidence each choice yields. Then write down the rationale for each difference — why PHI gets a dedicated CMK, why analytics gets a separate lower-sensitivity key, why backups inherit the primary's key. That documented rationale is what turns a pile of KMS keys into a defensible, auditable strategy, and it is exactly what an auditor asks for when they see two data stores keyed differently.

Design an Encryption-at-Rest Strategy for a Regulated SaaS — UprootSecurity Bootcamp