Create Database User

What's MongoDB Atlas: MongoDB Atlas is a cloud service that lets you set up, operate, and scale your MongoDB deployments with ease. 

About ‘Create Database User' action: This action lets you create a new database user in your MongoDB Atlas account. 

Connect to MongoDB Atlas: Select the appropriate connection for MongoDB Atlas from the drop-down list. If you haven’t created a connection yet, select ‘Add New’ to create one.

Field data

Group ID (Mandatory): Enter the ID of the group under which you wish to create a database user.   

Username (Mandatory): Enter username for the user you wish to create.

Password (Mandatory): Enter password for the user. 

Roles: This block contains the details of the role(s) granted to the user. 

   Database Name (Mandatory): Enter the name of the database for which you wish to create a role. 

   Role Name (Mandatory): Enter the name of the role that you wish to grant to the user. 

You can create multiple roles by clicking on 'ADD' link. 

Once you have entered the details, click on 'Done' and 'Run' the flow. This will create a new database user in your MongoDB Atlas Account. 

Refer to API documentation for more information: https://docs.atlas.mongodb.com/reference/api/database-users/#create-a-database-user

Output:
  • output-arrow mongodb-atlas-service-128 Create Database User
    • left-triangle databaseName string
    • left-triangle groupId string
    • left-triangle links array
    • left-triangle roles array
      • left-triangle databaseName string
      • left-triangle roleName string
    • left-triangle username string