MongoDB

Authentication Mechanisms in MongoDB

Introduction#

Authentication is the process of verifying the identity of a client. When access control, i.e. authorization, is enabled, MongoDB requires all clients to authenticate themselves in order to determine their access.

MongoDB supports a number of authentication mechanisms that clients can use to verify their identity. These mechanisms allow MongoDB to integrate into your existing authentication system.

Authentication Mechanisms

MongoDB supports multiple authentication mechanisms.

Client and User Authentication Mechanisms

  • SCRAM-SHA-1

  • X.509 Certificate Authentication

  • MongoDB Challenge and Response (MONGODB-CR)

  • LDAP proxy authentication, and

  • Kerberos authentication

Internal Authentication Mechanisms

  • Keyfile
  • X.509

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow