Constructor AutoEncryptionOptions
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.dll
AutoEncryptionOptions(CollectionNamespace, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>, Optional<bool>, Optional<IReadOnlyDictionary<string, object>>, Optional<IMongoClient>, Optional<IReadOnlyDictionary<string, BsonDocument>>, Optional<IReadOnlyDictionary<string, SslSettings>>, Optional<IReadOnlyDictionary<string, BsonDocument>>, Optional<bool?>)
Initializes a new instance of the AutoEncryptionOptions class.
public AutoEncryptionOptions(CollectionNamespace keyVaultNamespace, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> kmsProviders, Optional<bool> bypassAutoEncryption = default, Optional<IReadOnlyDictionary<string, object>> extraOptions = default, Optional<IMongoClient> keyVaultClient = default, Optional<IReadOnlyDictionary<string, BsonDocument>> schemaMap = default, Optional<IReadOnlyDictionary<string, SslSettings>> tlsOptions = default, Optional<IReadOnlyDictionary<string, BsonDocument>> encryptedFieldsMap = default, Optional<bool?> bypassQueryAnalysis = default)
Parameters
keyVaultNamespace
CollectionNamespaceThe keyVault namespace.
kmsProviders
IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>The kms providers.
bypassAutoEncryption
Optional<bool>The bypass auto encryption flag.
extraOptions
Optional<IReadOnlyDictionary<string, object>>The extra options.
keyVaultClient
Optional<IMongoClient>The keyVault client.
schemaMap
Optional<IReadOnlyDictionary<string, BsonDocument>>The schema map.
tlsOptions
Optional<IReadOnlyDictionary<string, SslSettings>>The tls options.
encryptedFieldsMap
Optional<IReadOnlyDictionary<string, BsonDocument>>The encryptedFields map.
bypassQueryAnalysis
Optional<bool?>The bypass query analysis flag.