Using Console
Using CLI
roles/cloudkms.cryptoKeyEncrypterDecrypter
role.
roles/cloudkms.cryptoKeyEncrypterDecrypter
role from the KMS admin role:
[KMS_ADMIN_ROLE]
with the name of the KMS admin role that you identified in step 3.
roles/cloudkms.cryptoKeyEncrypterDecrypter
role has been removed from the KMS admin role by running the following command:
[KMS_ADMIN_ROLE]
with the name of the KMS admin role that you identified in step 3.
This command should output the details of the KMS admin role, which should not include the roles/cloudkms.cryptoKeyEncrypterDecrypter
role.
roles/cloudkms.cryptoKeyEncrypterDecrypter
role in GCP using GCP CLI.Using Python
path/to/service_account.json
, your_project_id
, location
, keyring_name
, and cryptokey_name
with the actual values in your GCP environment.