Interface ClientEncryptionOptions

Additional settings to provide when creating a new ClientEncryption instance.创建新ClientEncryption实例时要提供的其他设置。

Hierarchy

  • ClientEncryptionOptions

Properties

keyVaultClient?: MongoClient

A MongoClient used to fetch keys from a key vault. Defaults to client.一种MongoClient,用于从键库中提取键。默认为客户端。

keyVaultNamespace: string

The namespace of the key vault, used to store encryption keys键保管库的命名空间,用于存储加密键

kmsProviders?: KMSProviders

Options for specific KMS providers to use供特定KMS提供商使用的选项

proxyOptions?: ProxyOptions

Options for specifying a Socks5 proxy to use for connecting to the KMS.用于指定用于连接到KMS的Socks5代理的选项。

tlsOptions?: CSFLEKMSTlsOptions

TLS options for kms providers to use.供kms提供程序使用的TLS选项。

Generated using TypeDoc