mongocli cm dbuser create
Create a database user for your project
Options
Name | Description |
---|---|
--authDB <authDB> | Authentication database name |
--mechanisms <mechanisms> | Authentication mechanism. Valid values are SCRAM-SHA-1 or SCRAM-SHA-256 |
--password, -p <password> | User's password |
--projectId <projectId> | Project ID to use. Overrides the settings in the configuration file or environment variable |
--role <role> | User's roles and the databases or collections on which the roles apply |
--username, -u <username> |
|