[KEY_NAME]
with the name of the key you want to enable rotation for, [KEY_RING_NAME]
with the name of the key ring containing the key, and [ROTATION_PERIOD]
with the desired rotation period in seconds.[KEY_NAME]
with the name of the key, [KEY_RING_NAME]
with the name of the key ring containing the key, [MEMBER]
with the service account or user email, and [ROLE]
with the desired IAM role.[KEY_VERSION]
with the version number of the key you want to enable versioning for, [KEY_NAME]
with the name of the key, and [KEY_RING_NAME]
with the name of the key ring containing the key.google-cloud-kms
Python library to retrieve the list of keys in your CloudKMS keyring.rotation_period
property.update_key
method.google-cloud-kms
Python library to retrieve the list of keys in your CloudKMS keyring.version_template
property.update_key
method.google-cloud-kms
Python library to retrieve the list of keys in your CloudKMS keyring.logging_config
property.update_crypto_key
method.project_id
, location_id
, and keyring_id
with the appropriate values for your CloudKMS setup.