Class CryptoKeyVersionTemplate (2.0.1)

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

A CryptoKeyVersionTemplate specifies the properties to use when creating a new CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically as a result of auto-rotation.

Attributes

NameDescription
protection_level .resources.ProtectionLevel
ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.
algorithm .resources.CryptoKeyVersion.CryptoKeyVersionAlgorithm
Required. Algorithm to use when creating a CryptoKeyVersion based on this template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.