mongocli atlas customdbroles create

Create a custom database role for your project

Options

NameDescription
--inheritedRole <inheritedRole>List of inherited roles and the database on which the role is granted
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--privilege <privilege>List of actions per database and collection. If no database or collections are provided, cluster scope is assumed
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable