MongoDBTlsMode
Enumnet10.0
Defines the TLS mode for MongoDB server.
namespace Aspire.Hosting;
public enum MongoDBTlsModeRemarks
Section titled Remarks See https://www.mongodb.com/docs/manual/reference/configuration-options/#mongodb-setting-net.tls.mode
Enum Members
Section titled Enum MembersAllowTlsConnections between servers do not use TLS. For incoming connections, the server accepts both TLS and non-TLS.
PreferTlsConnections between servers use TLS. For incoming connections, the server accepts both TLS and non-TLS.
RequireTlsThe server uses and accepts only TLS encrypted connections.