Using Console
Using CLI
[KEYRING_NAME]
with the name of the key ring you want to create and [LOCATION]
with the location where you want to create the key ring.[KEY_NAME]
with the name of the key you want to create and [KEYRING_NAME]
and [LOCATION]
with the name of the key ring and location where you created the key ring in step 1.[KEY_NAME]
, [KEYRING_NAME]
, [LOCATION]
, and [PROJECT_ID]
with the name of the key, key ring, location, and project ID where you created the key ring.[CLUSTER_ID]
with the ID of the Bigtable cluster you want to update, [KEY_NAME]
with the name of the key you created in step 2, and 1
with the version number of the key.After following these steps, all new backups for the Bigtable cluster will be encrypted with the customer-managed key.Using Python
project_id
, location_id
, key_ring_id
, key_id
, instance_id
, cluster_id
, and key_name
with your own values.By following these steps, you can remediate the misconfiguration of Bigtable Cluster Backups Should Be Encrypted With Customer Managed Keys in GCP using Python.