Click or drag to resize

AutoEncryptionOptions Constructor

Initializes a new instance of the AutoEncryptionOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
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
Type: MongoDB.DriverCollectionNamespace
The keyVault namespace.
kmsProviders
Type: System.Collections.GenericIReadOnlyDictionaryString, IReadOnlyDictionaryString, Object
The kms providers.
bypassAutoEncryption (Optional)
Type: MongoDB.DriverOptionalBoolean
The bypass auto encryption flag.
extraOptions (Optional)
Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, Object
The extra options.
keyVaultClient (Optional)
Type: MongoDB.DriverOptionalIMongoClient
The keyVault client.
schemaMap (Optional)
Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, BsonDocument
The schema map.
tlsOptions (Optional)
Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, SslSettings
The tls options.
encryptedFieldsMap (Optional)
Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, BsonDocument
[Beta] The encryptedFields map.
bypassQueryAnalysis (Optional)
Type: MongoDB.DriverOptionalNullableBoolean
[Beta] The bypass query analysis flag.
See Also