Using Console
Using CLI
[KEY_RING_NAME]
, [LOCATION]
, and [KEY_NAME]
with your own values.
cloudkms.cryptoKeyEncrypterDecrypter
role to the service account. You can use the following command:
[PROJECT_ID]
and [SERVICE_ACCOUNT_EMAIL]
with your own values.
[BACKUP_ID]
and [KEY_NAME]
with your own values.
Using Python