Type Alias ClientEncryptionTlsOptions

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

TLS options to use when connecting. The spec specifically calls out which insecure tls options are not allowed:

  • tlsAllowInvalidCertificates
  • tlsAllowInvalidHostnames
  • tlsInsecure

These options are not included in the type, and are ignored if provided.