Authentication

This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.


Property Description
AuthScheme The authentication mechanism that MongoDB will use to authenticate the connection.
Server The host name or IP address of the server hosting the MongoDB database.
Port The port for the MongoDB database.
User The MongoDB user account used to authenticate.
Password The password used to authenticate the user.
Database The name of the MongoDB database.
UseSSL This field sets whether SSL is enabled.
AuthDatabase The name of the MongoDB database for authentication.
ReplicaSet This property allows you to specify multiple servers in addition to the one configured in Server and Port . Specify both a server name and port; separate servers with a comma.
DNSServer Specify the DNS server when resolving MongoDB seed list.