Docs Menu
Docs Home
/ /
MongoDB Command Line Interface
/ /

mongocli ops-manager dbusers

On this page

  • Options
  • Inherited Options
  • Related Commands

Manage database users for your project.

The dbusers command retrieves, creates and modifies the MongoDB database users in your cluster. Each user has a set of roles that provide access to the project’s databases. A user’s roles apply to all the clusters in the project.

Name
Type
Required
Description
-h, --help
false
help for dbusers
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
  • mongocli ops-manager dbusers create - Create a database user for your project.

  • mongocli ops-manager dbusers delete - Delete a database user for your project.

  • mongocli ops-manager dbusers list - List Atlas database users for your project.

Auto generated by MongoDB CLI on 29-Jun-2021

Back

update