Setting Up Google Cloud BYOK
-
Sign in to the Google Cloud console and select the target project.
-
Enable the Cloud KMS API. Enable the IAM API only if you need to create or manage service-account keys.
-
Create a dedicated service account for the ESKM integration, or select an existing dedicated account.
-
Grant roles/cloudkms.importer. If ESKM will create key rings, keys, change states, or administer IAM, grant narrowly scoped additional permissions such as roles/cloudkms.admin only where required.
-
Generate the Service Account JSON credentials (if required). Navigate to IAM & Admin → Service Accounts, select the required service account, and choose Keys → Add Key → Create new key → JSON. Use the downloaded JSON contents in the ESKM Google BYOK instance configuration.
-
Record the project ID and the approved Cloud KMS location. Create a Key Ring in Google Cloud KMS and record the Key Ring name as the Key Ring ID for subsequent use.