All databases will need at least one user for access. Xervo 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 Xervo CLI using mongo user create command to create a database user.
$ xervo mongo user create Welcome to Xervo 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