Using Console
Using CLI
<keyring-name>
with the name of the identified key ring.
<key-name>
with the name of the identified CMK and <keyring-name>
with the name of the identified key ring.
<key-name>
with the name of the CMK that you want to create, <keyring-name>
with the name of the identified key ring, and <purpose>
with the purpose of the CMK (e.g. encryption
).
Note: You need to have the necessary IAM permissions to create a new CMK.
Using Python
<path_to_service_account_file>
, <project_id>
, <location>
, <keyring_name>
, and <key_name>
with the appropriate values for your GCP environment.