Determines which authentication mechanism the driver uses when establishing a connection.
Valid Values
kerberos | userIdPassword
Behavior
If set to kerberos, the driver uses Kerberos authentication.
If set to userIdPassword, the driver uses SCRAM-SHA-1 user ID/password authentication. The User property provides the user ID, and the Password property provides the password.
Notes
The userIdPassword setting is appropriate for servers that do not have authentication enabled. In a scenario where AuthenticationMethod has been set to userIdPassword but the server has not been configured for user ID/password authentication, the driver will still connect to the database server.
If authentication has not been enabled, client applications will have access to all databases on the server. If authentication has been enabled, a client application will only have access to the database specified by the DatabaseName property assuming it has the required permissions. However, an application with clusterAdmin privileges will have access to all databases on the server even when authentication is enabled.