Class: Google::Cloud::Kms::V1::CryptoKeyVersionTemplate

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#algorithmGoogle::Cloud::Kms::V1::CryptoKeyVersion::CryptoKeyVersionAlgorithm

Returns 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.

Returns:


164
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb', line 164

class CryptoKeyVersionTemplate; end

#protection_levelGoogle::Cloud::Kms::V1::ProtectionLevel

Returns ProtectionLevel to use when creating a CryptoKeyVersion based on this template. Immutable. Defaults to SOFTWARE.

Returns:


164
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb', line 164

class CryptoKeyVersionTemplate; end