AuthMechanism (Authentication)

Key Name Default Value Required

AuthMechanism

No Authentication (None)None

No

Description

Important:

Important:

This section describes the Mechanism option from the Simba MongoDB ODBC Driver DSN Setup dialog box. For information about the Mechanism option from the Advanced Options dialog box, see Mechanism (Metadata).

The authentication mechanism to use, selected from the following:

  • No Authentication (None)None: The connector does not authenticate the connection.
  • MongoDB User Name and Password (SCRAM-SHA-1)SCRAM-SHA-1: The connector authenticates the connection using the SCRAM-SHA-1 protocol, which is the default authentication protocol used by MongoDB.
  • Note:

    If authentication through SCRAM-SHA-1 fails, the connector automatically retries authentication using the MONGO-CR mechanism instead. MONGO-CR is deprecated as of MongoDB version 3.0.

  • SCRAM-SHA-256 (SCRAM-SHA-256)SCRAM-SHA-256: The connector authenticates the connection using the SCRAM-SHA-256 protocol.
  • Note:

    SCRAM-SHA-256 authentication is only supported on MongoDB version 4.0 and above.

  • Kerberos (GSSAPI)GSSAPI: The connector authenticates the connection using the Kerberos protocol.
  • LDAP (PLAIN)PLAIN: The connector authenticates the connection using the LDAP protocol.