Google Cloud · Security and Identity
Cloud Key Management Service
Managed encryption keys (software, HSM and external) used to encrypt data in Google Cloud services with customer-managed keys.
On the Google Cloud Associate Cloud Engineer exam listEncryption and key management
What it is and what problem it solves
Cloud Key Management Service creates and manages cryptographic keys in key rings by location. Keys can be software-protected, Cloud HSM (hardware security modules) or held outside Google with Cloud External Key Manager. Services such as Cloud Storage, BigQuery, Persistent Disk and Cloud SQL use them as customer-managed encryption keys (CMEK), so you control rotation, disabling and access.
When to use it
- Compliance requirements to control encryption keys.
- Revoking access to data by disabling a key.
- Signing and encrypting application data with managed keys.
When to avoid it
- Storing secrets such as API keys and passwords: use Secret Manager.
- Adding CMEK everywhere without a requirement: Google already encrypts all data at rest by default.
Cost model
What you pay for
- Active key versions per month (higher for HSM).
- Cryptographic operations per 10,000.
Where it is cost-efficient
Keys used by a few services with automatic rotation.
Where costs grow
Many keys and versions, high operation volumes from application-level encryption.
Cost controls and common surprises
Destroy unused key versions and avoid per-request encryption where CMEK on the service suffices.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
Separation of key use and key management roles, automatic rotation, audit logging of key use.
What you configure
Grant encrypter/decrypter roles to service agents only, separate key administrators from data users, and set rotation schedules.
Exam cues and common confusions
- Control your own encryption keys for a Google Cloud service: CMEK with Cloud KMS.
- Hardware-backed keys: Cloud HSM; keys outside Google: Cloud EKM.
Related
Services, comparisons and patterns
- Identity and Access Management (IAM) · Service
- Cloud Storage · Service
- BigQuery · Service
Sources
Independent study material, not affiliated with or endorsed by Google. Google Cloud and service names are trademarks of Google LLC.