Class EncryptionConfig (1.11.0)

EncryptionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a custom encryption key configuration that can be applied to a resource. This will encrypt all disks in Virtual Machine.

Attribute

Name Description
kms_key str
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}