Google Cloud HSM
Last updated May 5, 2026 This tutorial uses Google Cloud HSM ↗︎ — a FIPS 140-2 Level 3 certified implementation.
Before you start
Make sure that you have:
- Set up your Google Cloud project ↗︎
1. Create a key ring
To set up the Google Cloud HSM, create a key ring ↗︎ and indicate its location.
Note:
Only certain locations ↗︎ support Google Cloud HSM.
2. Create a key
Create a key, including the following information:
| Field | Value |
|---|---|
| Key ring | The key ring you created in Step 2 |
| Protection level | HSM |
| Purpose | Asymmetric Encrypt |
3. Import the private key
After creating a key ring and key, import the private key ↗︎.
Note:
You need to convert your key ↗︎ from a PEM to DER format.
4. Modify your gokeyless config file and restart the service
Once you’ve imported the key, copy the Resource name from the UI. Then, add this value to the gokeyless YAML file under private_key_stores.
With the config file saved, restart gokeyless and verify it started successfully.
sudo systemctl restart gokeyless.service
sudo systemctl status gokeyless.service -l
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/ssl/keyless-ssl/hardware-security-modules/google-cloud-hsm/#page","headline":"Google Cloud HSM","description":"Learn how to use Keyless SSL with Google Cloud HSM.","url":"https://developers.cloudflare.com/ssl/keyless-ssl/hardware-security-modules/google-cloud-hsm/","inLanguage":"en","image":"https://developers.cloudflare.com/ssl/keyless-ssl/hardware-security-modules/google-cloud-hsm/og.png?v=8ffa79efbf13d164","dateModified":"2026-05-05","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["GCP"]}
description: Learn how to use Keyless SSL with IBM Cloud HSM. title: IBM Cloud HSM image: https://developers.cloudflare.com/ssl/keyless-ssl/hardware-security-modules/ibm-cloud-hsm/og.png?v=a0092ca6ca57d964
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/ssl/llms.txt
Use this file to discover all available pages before exploring further.
Docs