CloudBeaver Documentation

DOWNLOAD pdf

Authentication MongoDB

Note: This feature is available in Enterprise, AWS, Team editions only.

Table of contents

Overview

CloudBeaver is fully compatible with the MongoDB authentication method, offering you a secure way to access your MongoDB databases.

Settings

Here are the steps to configure MongoDB authentication:

  1. Start by creating a connection for MongoDB.

  2. Enter the username and password in the Username and Password fields respectively.

Tip: If you check the Save credentials for the current user option, you will not be asked to input your credentials every time you connect. For more details on connection settings, see Create Connection.

  1. From the Mechanism dropdown menu, select an option. The following table outlines the available authentication mechanisms:

    Mechanism Description
    SCRAM-SHA-1 A password-based authentication mechanism using SHA-1 hashing algorithm. Suitable for securing data transmissions.
    SCRAM-SHA-256 An upgraded version of SCRAM-SHA-1, using the stronger SHA-256 hashing algorithm. Offers enhanced security.
    MONGODB-CR A protocol specific to MongoDB, utilizing a challenge-response mechanism for authentication.
    PLAIN A simple, unencrypted password-based authentication mechanism. Not recommended for production environments due to security vulnerabilities.
    GSSAPI Based on the Kerberos protocol, this mechanism offers secure password authentication.
    NONE No authentication is required. This method should only be used in secure, isolated environments.

You can read more about these mechanisms on the MongoDB documentation page.

  1. Fill in the additional fields as necessary.

    Field Description
    Source The authentication database to use. Typically, this is admin for administrative users.
    Replica Set Required when your MongoDB setup includes a replica set.
  2. Once you have input your credentials, click the Test button to verify your settings. If everything is configured correctly, CloudBeaver should now be able to connect to your database using the MongoDB authentication method.