Docs Menu

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. This value defaults to 3.
-o, --output
string
false
Output format. Valid values are json, json-path, go-template, or go-template-file.
--projectId
string
false
Project ID to use. Overrides the settings in the configuration file or environment variable.
--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 →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.