public sealed class CryptoKeyVersionTemplate : IMessage<CryptoKeyVersionTemplate>, IEquatable<CryptoKeyVersionTemplate>, IDeepCloneable<CryptoKeyVersionTemplate>, IBufferMessage, IMessage
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.
Implements
IMessage<CryptoKeyVersionTemplate>, IEquatable<CryptoKeyVersionTemplate>, IDeepCloneable<CryptoKeyVersionTemplate>, IBufferMessage, IMessageNamespace
Google.Cloud.Kms.V1Assembly
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 |
CryptoKeyVersion.Types.CryptoKeyVersionAlgorithm |
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 |