Welcome, Guest Login

Public Cloud Center

MongoDB User Management

Last Updated: Jan 08, 2016 06:32PM EST

All databases will need at least one user for access. Modulus does not create one by default and no "root" user is available for use.

You can create one for read/write access during creation, or you can manage all your users through the database dashboard. To do this navigate to the users tab.

Creating a User

To create a user, click the Add User button in the top right corner of the page. You will be prompted for a few details about the new user.

Creating a User Using CLI (optional)

You can create a user in the Modulus CLI using mongo user create command to create a database user.

$ modulus mongo user create
Welcome to Modulus
You are logged in as spiderman
Please choose which database to use:
  1) Lizard Locator DB
  2) Green Goblin DB
[?] database 2
Selected MongoDB database Green Goblin DB.
[?] Enter username: johnny
[?] Enter password: five
[?] Read only permissions? (yes) no
[✓] New MongoDB database user johnny created.

Changing a User's Password

To reset a user's password, or to update their username, click the gear icon to the right of their listing in the users table. A dialog will open that will allow you to update the user's information.

Deleting a User

To delete a user, click the trashcan icon to the right of the user in the users table. It is located right next to the gear icon.

Go to top

Contact Us

    Our Support Policy
    Submit a Support Request

  • Public Cloud Support Hours
    9am-5pm EST Mon-Fri
    Outside of these hours response times may be up to 24hrs.

    Submit a support ticket by clicking 'status and support' icon on the left side of this page.

seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found