Class: Mongo::Crypt::KMS::Local::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/local/credentials.rb |
Overview
::Mongo::Crypt::KMS::Local
KMS Credentials
object contains credentials for using local ::Mongo::Crypt::KMS
provider.
Constant Summary
-
FORMAT_HINT =
# File 'lib/mongo/crypt/kms/local/credentials.rb', line 35"Local KMS provider options must be in the format: " + "{ key: 'MASTER-KEY' }"
Class Method Summary
-
.new(opts) ⇒ Credentials
constructor
Internal use only
Creates a local
::Mongo::Crypt::KMS
credentials object form a parameters hash.
Instance Attribute Summary
- #key ⇒ String readonly Internal use only
Instance Method Summary
- #to_document ⇒ BSON::Document Internal use only
::Mongo::Crypt::KMS::Validations
- Included
#validate_param | Validate if a |
#validate_tls_options | Validate KMS TLS options. |
Instance Attribute Details
#key ⇒ String
(readonly)
# File 'lib/mongo/crypt/kms/local/credentials.rb', line 30
attr_reader :key