Docs Home → MongoDB Command Line Interface
mongocli atlas dbusers
On this page
mongocli atlas
commands are now deprecated because there's a new, dedicated CLI available for Atlas users. Migrate to the Atlas CLI to enjoy the same capabilities and the latest features. You can use mongocli atlas
commands until April 30, 2023.Manage database users for your project.
The dbusers command retrieves, creates and modifies the MongoDB database users in your project. 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.
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for dbusers |
Inherited Options
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. |
Related Commands
mongocli atlas dbusers certs - Manage Atlas x509 certificates for your database users.
mongocli atlas dbusers create - Create a database user for your project.
mongocli atlas dbusers delete - Remove the specified database user from your project.
mongocli atlas dbusers describe - Return the details for the specified database user for your project.
mongocli atlas dbusers list - Return all database users for your project.
mongocli atlas dbusers update - Modify the details for a database user for your project.