More Info:

Enusre Spanner database is encrypted with Customer Managed Keys

Risk Level

Medium

Address

Security

Compliance Standards

HIPAA, SOC2, GDPR, ISO27001

Triage and Remediation

Remediation

To remediate the misconfiguration “Spanner Databases Should Be Encrypted With Customer Managed Keys” for GCP using GCP console, follow the below steps:

  1. Open the GCP Console and navigate to the Google Cloud Spanner instance for which you want to enable Customer Managed Encryption Keys (CMEK) encryption.

  2. Click on the instance name to open the instance details page.

  3. In the left navigation menu, click on “Encryption”.

  4. On the Encryption page, click on “Edit”.

  5. In the Encryption Settings dialog box, select “Customer-managed key” as the encryption type.

  6. Select the key ring and key you want to use to encrypt the data.

  7. Click on “Save” to apply the changes.

  8. Once the encryption settings are updated, all the data stored in the Spanner database will be encrypted using the selected customer-managed key.

  9. Verify that the encryption is working by accessing the data and checking that it is encrypted.

By following these steps, you can remediate the misconfiguration “Spanner Databases Should Be Encrypted With Customer Managed Keys” for GCP using GCP console.