Docs Menu

Docs HomeMongoDB Command Line Interface

mongocli atlas dbusers certs create

On this page

  • Syntax
  • Options
  • Inherited Options

Create a new Atlas-managed X.509 certificate for the specified database user.

mongocli atlas dbusers certs create [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.
Name
Type
Required
Description
-P, --profile
string
false
Profile to use from your configuration file.
←  mongocli atlas dbusers certsmongocli atlas dbusers certs list →
Share Feedback