An enterprise healthcare organization stores sensitive patient diagnostic datasets in Google Cloud Storage. Corporate regulatory compliance mandates that all data at rest must be encrypted using Customer-Managed Encryption Keys (CMEK) hosted in Cloud KMS, key rotation must be automated annually without requiring re-encryption of existing data, and key access permissions must strictly adhere to the principle of least privilege. Which configuration strategy satisfies these security and compliance requirements?
- ASupply a raw 256-bit AES Customer-Supplied Encryption Key (CSEK) header with every upload request and run a scheduled on-premises script to regenerate and supply new raw key material annually.
- Configure the Cloud Storage bucket with a Cloud KMS CMEK key, grant the Cloud Storage Service Agent the Cloud KMS CryptoKey Encrypter/Decrypter role on the key, and set an automated 365-day rotation schedule on the CryptoKey.Answer
- CConfigure the Cloud Storage bucket with a Cloud KMS key and grant the Editor primitive IAM role to the project service account so that it can manage both Cloud KMS resources and storage bucket objects.
- DEnclose the Cloud Storage bucket inside a VPC Service Controls perimeter and rely on perimeter ingress/egress rules to enforce data encryption without assigning key IAM roles to service identities.
Answer
Configure the Cloud Storage bucket using a Customer-Managed Encryption Key (CMEK) stored in Cloud KMS, assign the Cloud KMS CryptoKey Encrypter/Decrypter role specifically to the Cloud Storage Service Agent, and define an automated 365-day rotation schedule on the key.
To satisfy customer-managed encryption (CMEK) requirements in Google Cloud Storage with least privilege, key management must be delegated to Cloud KMS. The Google-managed Cloud Storage Service Agent requires the dedicated `roles/cloudkms.cryptoKeyEncrypterDecrypter` role on the CryptoKey to perform cryptographic operations. Configuring an automatic 365-day rotation period directly on the Cloud KMS key ensures compliance without manual intervention or data re-encryption.
Step-by-Step Solution
Key Concept
Cloud Storage CMEK Integration and Cloud KMS Service Agent IAM Least Privilege
Estimated Time:1m 30s