Class: Mongo::Crypt::KMS::KMIP::Credentials Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Forwardable
|
|
Instance Chain:
|
|
Inherits: | Object |
Defined in: | lib/mongo/crypt/kms/kmip/credentials.rb |
Overview
::Mongo::Crypt::KMS::KMIP
KMS Credentials
object contains credentials for a remote ::Mongo::Crypt::KMS::KMIP
KMS provider.
Constant Summary
-
FORMAT_HINT =
# File 'lib/mongo/crypt/kms/kmip/credentials.rb', line 36"KMIP KMS provider options must be in the format: " + "{ endpoint: 'ENDPOINT' }"
Class Method Summary
-
.new(opts) ⇒ Credentials
constructor
Internal use only
Creates a
::Mongo::Crypt::KMS::KMIP
KMS credentials object form a parameters hash.
Instance Attribute Summary
- #endpoint ⇒ String readonly Internal use only
Instance Method Summary
-
#to_document ⇒ BSON::Document
Internal use only
Convert credentials object to a BSON document in libmongocrypt format.
::Mongo::Crypt::KMS::Validations
- Included
#validate_param | Validate if a |
#validate_tls_options | Validate KMS TLS options. |
Instance Attribute Details
#endpoint ⇒ String
(readonly)
# File 'lib/mongo/crypt/kms/kmip/credentials.rb', line 31
attr_reader :endpoint
Instance Method Details
#to_document ⇒ BSON::Document
Convert credentials object to a BSON document in libmongocrypt format.