ClientEncryptionOptions Constructor |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax public ClientEncryptionOptions(
IMongoClient keyVaultClient,
CollectionNamespace keyVaultNamespace,
IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
Optional<IReadOnlyDictionary<string, SslSettings>> tlsOptions = default
)
Public Sub New (
keyVaultClient As IMongoClient,
keyVaultNamespace As CollectionNamespace,
kmsProviders As IReadOnlyDictionary(Of String, IReadOnlyDictionary(Of String, Object)),
Optional tlsOptions As Optional(Of IReadOnlyDictionary(Of String, SslSettings)) = Nothing
)
new :
keyVaultClient : IMongoClient *
keyVaultNamespace : CollectionNamespace *
kmsProviders : IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> *
?tlsOptions : Optional<IReadOnlyDictionary<string, SslSettings>>
(* Defaults:
let _tlsOptions = defaultArg tlsOptions new Optional<IReadOnlyDictionary<string, SslSettings>>()
*)
-> ClientEncryptionOptions
Parameters
- keyVaultClient
- Type: MongoDB.DriverIMongoClient
The key vault client. - keyVaultNamespace
- Type: MongoDB.DriverCollectionNamespace
The key vault namespace. - kmsProviders
- Type: System.Collections.GenericIReadOnlyDictionaryString, IReadOnlyDictionaryString, Object
The KMS providers. - tlsOptions (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, SslSettings
The tls options.
See Also