Cloud Key Management Service documentation

Cloud Key Management Service allows you to create, import, and manage cryptographic keys and perform cryptographic operations in a single centralized cloud service. You can use these keys and perform these operations by using Cloud KMS directly, by using Cloud HSM or Cloud External Key Manager, or by using Customer-Managed Encryption Keys (CMEK) integrations within other Google Cloud services.

With Cloud KMS you are the ultimate custodian of your data, you can manage cryptographic keys in the cloud in the same ways you do on-premises, and you have a provable and monitorable root of trust over your data.

  • Get access to Gemini 2.0 Flash Thinking
  • Free monthly usage of popular products, including AI APIs and BigQuery
  • No automatic charges, no commitment
View free product offers

Keep exploring with 20+ always-free products

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.

Explore self-paced training from Google Cloud Skills Boost, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services.
training
Training and tutorials

This tutorial teaches you how to encrypt and decrypt data using symmetric Cloud KMS keys.

training
Training and tutorials

Explore and deploy the components of a secure Google Cloud solution through hands on labs. Learn best practices for securing applications and data and mitigation techniques for attacks at many points in a Google Cloud-based infrastructure, including Distributed Denial-of-Service attacks, phishing attacks, and threats involving content classification and use.

training
Training and tutorials

In this lab you'll learn how to use some advanced features of Google Cloud Security and Privacy APIs, including: setting up a secure Cloud Storage bucket, managing keys and encrypted data, and viewing Cloud Storage audit logs.

use case
Use cases

Shows how to set up an access-controlled credit and debit card tokenization service on Cloud Functions. To set up the service, the article uses IAM, Cloud KMS, and Datastore.

PCI DSS Functions Datastore

use case
Use cases

Learn how to implement the Payment Card Industry Data Security Standard (PCI DSS) for your business on Google Cloud.

PCI DSS Compliance Security

code sample
Code Samples

Python code samples and snippets

code sample
Code Samples

A robust set of Node.js samples.

code sample
Code Samples

A list of Go samples

code sample
Code Samples

Samples for .NET and KMS.

code sample
Code Samples

PHP code samples for KMS

code sample
Code Samples

Ruby samples for KMS

Related videos