Docs Menu
Docs Home
/ /
MongoDB CLI
/ /

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
Name of the profile to use from your configuration file. To learn about profiles for MongoCLI, see https://dochub.mongodb.org/core/atlas-cli-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.

Back

update