mongocli atlas dbuser cert create

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

Options

NameDescription
--monthsUntilExpiration <monthsUntilExpiration>Number of months that the certificate is valid for
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--username <username>
  • Required ✳