Docs Menu
Docs Home
/ /
Atlas CLI
/

atlas dbusers

Manage database users for your project.

Public Preview: The atlas api sub-command, automatically generated from the MongoDB Atlas Admin API, offers full coverage of the Admin API and is currently in Public Preview (please provide feedback at https://feedback.mongodb.com/forums/930808-atlas-cli). Admin API capabilities have their own release lifecycle, which you can check via the provided API endpoint documentation link.

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.

Name
Type
Required
Description

-h, --help

false

help for dbusers

Name
Type
Required
Description

-P, --profile

string

false

  • atlas dbusers certs - Manage Atlas x509 certificates for your database users.

  • atlas dbusers create - Create a database user for your project.

  • atlas dbusers delete - Remove the specified database user from your project.

  • atlas dbusers describe - Return the details for the specified database user for your project.

  • atlas dbusers list - Return all database users for your project.

  • atlas dbusers update - Modify the details of a database user in your project.

Back

update

On this page