Table of Contents

Constructor ClientEncryptionOptions

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.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 IMongoClient

The key vault client.

keyVaultNamespace CollectionNamespace

The key vault namespace.

kmsProviders IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>

The KMS providers.

tlsOptions Optional<IReadOnlyDictionary<string, SslSettings>>

The tls options.