Back to controls

Ensure Cloud Spanner uses CMEK for regulated data

Customer-managed encryption keys (CMEK) provide stronger governance and key lifecycle control for regulated workloads.

Category

Controls

Medium

Applies to

Google Cloud

Coverage

null controls, 1 queries

Asset types

1 covered

Overview

Customer-managed encryption keys (CMEK) provide stronger governance and key lifecycle control for regulated workloads.

Remediation guidance

Google Cloud Remediation

Service-Wide (Recommended)

Define organization policy and project standards requiring CMEK for regulated data stores.

Google Cloud Console (Asset-Level)

  1. Open Cloud Spanner instance creation/configuration workflow.
  2. Select Customer-managed encryption key.
  3. Choose approved KMS key ring/key.

Google Cloud CLI (Asset-Level)

gcloud spanner instances create <instance-name> --config=<config> --description="<description>" --nodes=<nodes> --kms-key=projects/<project>/locations/<location>/keyRings/<keyring>/cryptoKeys/<key>

References

  • https://cloud.google.com/spanner/docs/customer-managed-encryption-keys

Query logic

These are the stored checks tied to this control.

Spanner instances without CMEK

Connectors

Google Cloud

Covered asset types

CloudSpanner

Expected check: eq []

{ cloudSpannerInstances(where: { OR: [ { kmsKeyName: "" }, { kmsKeyName: null } ] }) { ...AssetFragment } }
Cyscale Logo
Cyscale is an agentless cloud-native application protection platform (CNAPP) that automates the contextual analysis of cloud misconfigurations, vulnerabilities, access, and data, to provide an accurate and actionable assessment of risk.

Stay connected

Receive new blog posts and product updates from Cyscale

By clicking Subscribe, I agree to Cyscale’s Privacy Policy


© 2026 Cyscale Limited

LinkedIn icon
Twitter icon
Facebook icon
crunch base icon
angel icon