Google Cloud KMS wallet

A Google Cloud KMS Wallet is a wallet securely stored in your Google Cloud account. Engine can create and transact with the wallet, but not delete it.

Setup

  • Enable Google KMS API for your GCP account.

  • Create a Service Account.

  • Navigate to the IAM page. Find the service account and select Edit Principal to add the following roles:

    • Cloud KMS Admin
    • Cloud KMS CryptoKey Signer/Verifier
  • Navigate to the Service Accounts page. Select the above service account.

  • Navigate to the Keys tab. Select Add Key > Create new key.

  • Select JSON to download the JSON file. This file contains the key's private key in plaintext.

  • In the dashboard, navigate to Configuration > Server Wallets.

  • Select Google KMS and provide the following:

Import an existing wallet

  • Ensure your keyring is created with the following settings:
    • Purpose: Asymmetric sign
    • Algorithm: Elliptic Curve P-256 - SHA256 Digest
  • In the dashboard, navigate to Overview > Server Wallets.
  • Select Import and provide the following:
    • GCP KMS Key ID (example: 0489da75-9830-4a5a-97e3-e4a6df7775b3)
    • GCP KMS Version ID (example: 1)