Reference documentation and code samples for the Cloud Key Management Service (KMS) V1 API class Google::Cloud::Kms::V1::EkmConnection.
An EkmConnection represents an individual EKM connection. It can be used for creating CryptoKeys and CryptoKeyVersions with a ProtectionLevel of [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as performing cryptographic operations using keys created within the EkmConnection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time at which the EkmConnection was created.
#crypto_space_path
def crypto_space_path() -> ::String
- (::String) — Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
#crypto_space_path=
def crypto_space_path=(value) -> ::String
- value (::String) — Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
- (::String) — Optional. Identifies the EKM Crypto Space that this EkmConnection maps to. Note: This field is required if KeyManagementMode is CLOUD_KMS.
#etag
def etag() -> ::String
- (::String) — Optional. Etag of the currently stored EkmConnection.
#etag=
def etag=(value) -> ::String
- value (::String) — Optional. Etag of the currently stored EkmConnection.
- (::String) — Optional. Etag of the currently stored EkmConnection.
#key_management_mode
def key_management_mode() -> ::Google::Cloud::Kms::V1::EkmConnection::KeyManagementMode
- (::Google::Cloud::Kms::V1::EkmConnection::KeyManagementMode) — Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
#key_management_mode=
def key_management_mode=(value) -> ::Google::Cloud::Kms::V1::EkmConnection::KeyManagementMode
- value (::Google::Cloud::Kms::V1::EkmConnection::KeyManagementMode) — Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
- (::Google::Cloud::Kms::V1::EkmConnection::KeyManagementMode) — Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to MANUAL.
#name
def name() -> ::String
-
(::String) — Output only. The resource name for the
EkmConnection in the format
projects/*/locations/*/ekmConnections/*
.
#service_resolvers
def service_resolvers() -> ::Array<::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver>
- (::Array<::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver>) — Optional. A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
#service_resolvers=
def service_resolvers=(value) -> ::Array<::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver>
- value (::Array<::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver>) — Optional. A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.
- (::Array<::Google::Cloud::Kms::V1::EkmConnection::ServiceResolver>) — Optional. A list of ServiceResolvers where the EKM can be reached. There should be one ServiceResolver per EKM replica. Currently, only a single ServiceResolver is supported.