mongocli atlas dbuser create
Create a database user for your project
Options
Name | Description |
---|---|
--awsIAMType <awsIAMType> | AWS IAM method by which the provided username is authenticated. Valid values are NONE, USER, or ROLE |
--deleteAfter <deleteAfter> | Timestamp in ISO 8601 in UTC after which Atlas deletes the user |
--ldapType <ldapType> | LDAP method by which the provided username is authenticated. Valid values are NONE, USER, or GROUP |
--output, -o <output> | Output format. Valid values are json, json-path, go-template, or go-template-file |
--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 |
--scope <scope> | Array of clusters and Atlas Data Lakes that this user has access to |
--username, -u <username> |
|
--x509Type <x509Type> | X.509 method by which the provided username is authenticated. Valid values are NONE, MANAGED, or CUSTOMER |