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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public AutoEncryptionOptions(
	CollectionNamespace keyVaultNamespace,
	IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
	Optional<bool> bypassAutoEncryption = null,
	Optional<IReadOnlyDictionary<string, Object>> extraOptions = null,
	Optional<IMongoClient> keyVaultClient = null,
	Optional<IReadOnlyDictionary<string, BsonDocument>> schemaMap = null
)

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.
See Also