atlas cluster connectionstrings get
Retrieve the SRV connection string of your MongoDB cluster
Options
Name | Description |
---|---|
--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 |
--type <type> | When set to 'private', retrieves the connection string for the network peering endpoint |