Google Cloud Key Management Service v1 API - Class CryptoKeyVersionTemplate (3.11.0)

public sealed class CryptoKeyVersionTemplate : IMessage<CryptoKeyVersionTemplate>, IEquatable<CryptoKeyVersionTemplate>, IDeepCloneable<CryptoKeyVersionTemplate>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Key Management Service v1 API class CryptoKeyVersionTemplate.

A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] specifies the properties to use when creating a new [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually with [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or automatically as a result of auto-rotation.

Inheritance

object > CryptoKeyVersionTemplate

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

CryptoKeyVersionTemplate()

public CryptoKeyVersionTemplate()

CryptoKeyVersionTemplate(CryptoKeyVersionTemplate)

public CryptoKeyVersionTemplate(CryptoKeyVersionTemplate other)
Parameter
Name Description
other CryptoKeyVersionTemplate

Properties

Algorithm

public CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm Algorithm { get; set; }

Required. [Algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template.

For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] is [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT].

Property Value
Type Description
CryptoKeyVersionTypesCryptoKeyVersionAlgorithm

ProtectionLevel

public ProtectionLevel ProtectionLevel { get; set; }

[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when creating a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] based on this template. Immutable. Defaults to [SOFTWARE][google.cloud.kms.v1.ProtectionLevel.SOFTWARE].

Property Value
Type Description
ProtectionLevel