Diagram
A left-to-right process flow showing plaintext encrypted by a service with a DEK, the DEK wrapped by a customer-managed KEK in Cloud KMS, and stored encrypted data becoming unreadable if the KEK is destroyed.
Encryption Strategy and Key Management
Default encryption at rest means Google automatically encrypts stored content using Google-owned keys, which isolates data from lower-level threats such as malicious disk firmware. Envelope encryption adds customer control by wrapping data encryption keys (DEKs) with key encryption keys (KEKs). In the envelope flow, the integrated service encrypts data with a DEK, then Cloud KMS wraps that DEK with a customer-managed KEK, so access to data depends on access to both the encrypted data and the KEK. Customer-managed encryption keys (CMEKs) are created in Cloud KMS and used across Cloud Storage, BigQuery, Cloud SQL, Spanner, Compute Engine disks, Google Kubernetes Engine (GKE) secrets, Pub/Sub, Dataproc, and AlloyDB. When a CMEK is disabled or destroyed, the service can no longer unwrap its DEKs, so the protected data becomes unreadable.
Domain 2 of 2
93 practice questions
Practice this DomainLast updated