MongoClient Options for Queryable Encryption可查询加密的MongoClient选项
On this page本页内容
Overview概述
On this page, you can learn about the Queryable Encryption-specific configuration options for 在这个页面上,您可以了解MongoClient instances.MongoClient实例的可查询加密特定配置选项。
Automatic Encryption Options自动加密选项
The following table describes the structure of an 下表介绍了AutoEncryptionOptions object:AutoEncryptionOptions对象的结构:
keyVaultNamespace | String | Yes | |
kmsProviders | Object | Yes |
|
bypassAutoEncryption | Boolean | No | true to bypass automatic encryption rules and perform explicit (manual) per-field encryption.true可绕过自动加密规则并执行显式(手动)每字段加密。 |
bypassQueryAnalysis | Boolean | No | true to use explicit encryption without the Automatic Encryption Shared Library. Defaults to false if not specified.true可在不使用自动加密共享库的情况下使用显式加密。如果未指定,则默认为false。 |
encryptedFieldsMap | Object | No | |
extraOptions | Object | No | mongocryptd, specify the full absolute or relative file path to the library file in the cryptSharedLibPath property of this object.mongocrypted,请在此对象的cryptSharedLibPath属性中指定库文件的完整绝对或相对文件路径。MongoClient will fail.MongoClient将失败。 |
keyVaultClient | MongoClient | No | MongoClient that should connect to the MongoDB instance hosting your Key Vault collection.MongoClient。MongoClient instance.MongoClient实例。 |
tlsOptions | Object | No |
API DocumentationAPI文件
For more information on these automatic encryption options, see the API documentation for the AutoEncryptionOptions interface.有关这些自动加密选项的更多信息,请参阅AutoEncryptionOptions接口的API文档。