Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::KeyVersionSpec.
A Cloud KMS key configuration that a CertificateAuthority will use.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#algorithm
def algorithm() -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm
Returns
-
(::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm) — The algorithm to use for creating a managed Cloud KMS key for a for a
simplified experience. All managed keys will be have their
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as
HSM
.
#algorithm=
def algorithm=(value) -> ::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm
Parameter
-
value (::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm) — The algorithm to use for creating a managed Cloud KMS key for a for a
simplified experience. All managed keys will be have their
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as
HSM
.
Returns
-
(::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority::SignHashAlgorithm) — The algorithm to use for creating a managed Cloud KMS key for a for a
simplified experience. All managed keys will be have their
[ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] as
HSM
.
#cloud_kms_key_version
def cloud_kms_key_version() -> ::String
Returns
-
(::String) — The resource name for an existing Cloud KMS CryptoKeyVersion in the
format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. This option enables full flexibility in the key's capabilities and properties.
#cloud_kms_key_version=
def cloud_kms_key_version=(value) -> ::String
Parameter
-
value (::String) — The resource name for an existing Cloud KMS CryptoKeyVersion in the
format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. This option enables full flexibility in the key's capabilities and properties.
Returns
-
(::String) — The resource name for an existing Cloud KMS CryptoKeyVersion in the
format
projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*
. This option enables full flexibility in the key's capabilities and properties.