Constructor ClientEncryptionOptions
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
ClientEncryptionOptions(IMongoClient, CollectionNamespace, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>, Optional<IReadOnlyDictionary<string, SslSettings>>)
Initializes a new instance of the ClientEncryptionOptions class.
public ClientEncryptionOptions(IMongoClient keyVaultClient, CollectionNamespace keyVaultNamespace, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> kmsProviders, Optional<IReadOnlyDictionary<string, SslSettings>> tlsOptions = default)
Parameters
keyVaultClient
IMongoClientThe key vault client.
keyVaultNamespace
CollectionNamespaceThe key vault namespace.
kmsProviders
IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>The KMS providers.
tlsOptions
Optional<IReadOnlyDictionary<string, SslSettings>>The tls options.