mongocli atlas dbusers certs create
On this page
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoCLI.
Create a new Atlas-managed X.509 certificate for the specified database user.
Syntax
mongocli atlas dbusers certs create [options]
Options
Name | Type | Required | Description |
---|---|---|---|
-h, --help | false | help for create | |
--monthsUntilExpiration | int | false | Number of months that the certificate is valid for. (default 3) |
-o, --output | string | false | Output format.
Valid values: json|json-path|go-template|go-template-file |
--projectId | string | false | Project ID to use. Overrides configuration file or environment variable settings. |
--username | string | true | Username of a database user. |
Inherited Options
Name | Type | Required | Description |
---|---|---|---|
-P, --profile | string | false | Profile to use from your configuration file. |
Auto generated by cobra2snooty on 13-Jul-2021