menu
more detail

Blog

One key per encryption boundary on an AWS data platform

Customer-managed keys drawn around the data you may need to rotate, revoke or hand over separately, with enforced TLS and a record of accepted gaps.

Without an explicit encryption standard, controls get applied inconsistently, which makes compliance impossible to audit and the damage from a compromised key impossible to bound. On an AWS data platform the fix is to decide what the encryption boundaries are, and give each one its own key.

One KMS key per encryption boundary on an AWS data platform, with enforced TLS in transit.

Customer-managed keys at rest

All persistent platform data is encrypted with customer-managed KMS keys with automatic rotation on a short fixed period. Default AWS-managed keys are not used, because they cannot be scoped, revoked or transferred on the platform’s terms.

Draw the boundaries around what you may need to separate

Each boundary has its own key, so that a key can be rotated, revoked or transferred without affecting adjacent data. Raw data is scoped by source, so a key can be retired with its source. Curated data is conformed across sources, so one key matches how it is used. The catalogue storage, the workspace root and the audit logs each get their own. Audit logs in particular are kept apart from the lake keys, so evidence cannot be silenced by revoking a lake key.

Explicit key policies

A key policy names the roles that may use the key. The AWS default, which lets any principal with a permissive identity policy use the key, is not relied on. Table formats such as Delta Lake inherit at-rest encryption from the bucket underneath, so no extra layer is needed at table level.

In transit

Every network path that carries platform data uses TLS. The bucket policy denies any request that does not arrive over HTTPS, and requests that do not come through the gateway endpoint are denied as well. Ingress to the workspace is restricted at the security group level, egress to the metastore is limited to published ranges, and application connections to external services use HTTPS with certificate verification against a trusted authority.

An accepted-gaps record

Real estates have exceptions, such as an internal service with a certificate from a private authority that the runtime does not trust, or an internal endpoint that serves plain HTTP behind a network perimeter. The standard records each one: what the gap is, why the exposure is bounded, who accepted it and the remediation, including what must be fixed before the pipeline reaches production or what would have to change for the exception to lapse. A gap that is written down and time-bound is a managed risk, where a gap nobody recorded is an open one.

Compliance per source

Every new source gets its own key at onboarding, and the onboarding checklist enforces it. Which key protects which bucket, and its rotation status, belongs in the source inventory and not in the standard. The same thinking runs through the security work on a DevOps engagement and through data architecture and strategy.

Scroll for
View more

Contact Us  

Ready to put AI to work on your data? Get in touch with the DataPhoenix team.