OptionalcredentialOptions for user provided custom credential providers.
OptionalkeySets the expiration time for the DEK in the cache in milliseconds. Defaults to 60000. 0 means no timeout.
OptionalkeyA MongoClient used to fetch keys from a key vault. Defaults to client.
The namespace of the key vault, used to store encryption keys
OptionalkmsOptions for specific KMS providers to use
OptionalproxyOptions for specifying a Socks5 proxy to use for connecting to the KMS.
OptionaltimeoutMSOptionaltlsTLS options for kms providers to use.
Additional settings to provide when creating a new
ClientEncryptioninstance.