Creating a key ring and an encryption key
Create a key ring and en encryption key in Google Cloud.
- Go to Security > Key Management in the GCP console.
-
Create a key ring or use any existing one.
Ensure that the key ring location and the location of the resources you create for the Cloudera environment are the same.
Figure 1. Create a key ring or use an existing one
- Go to the key ring that you have previously created.
-
Click +Create Key to create a new key inside the key
ring.
Figure 2. Create a key in the key ring
- Under What type of key do you want to create?, select Generated key.
- Under Key name, enter the name for your key.
-
Select the protection level from the Protection level
drop-down list:
- If you are using a standard CMEK, select Software.
- If you are using a Cloud HSM key, select HSM.
- From the Purpose drop-down list, select Symmetric encrypt/decrypt.
- Use the default values for the Rotation period and Starting on attributes.
-
Click Create.
Figure 3. Create key
