Type alias ClientEncryptionTlsOptions

ClientEncryptionTlsOptions: Pick<MongoClientOptions, "tlsCAFile" | "tlsCertificateKeyFile" | "tlsCertificateKeyFilePassword">

TLS options to use when connecting. The spec specifically calls out which insecure tls options are not allowed:连接时使用的TLS选项。该规范特别指出了哪些不安全的tls选项是不允许的:

  • tlsAllowInvalidCertificates
  • tlsAllowInvalidHostnames
  • tlsInsecure

These options are not included in the type, and are ignored if provided.这些选项不包括在类型中,如果提供,则会被忽略。

Generated using TypeDoc