Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas CLI
Created by Guest
Created on Mar 14, 2023

JSON

An export function to export the configuration of an existing Cluster to a JSON config file, of the kind used by Atlas CLI to create clusters. I can imagine this as a flag for a detailed output of "atlas cluster describe "
  • ADMIN RESPONSE
    Oct 18, 2025
    Thanks for raising this suggestion. As per the comment earlier, this is already available with "--output json"  flag. If you'd like to export it to a file, feel free to add "> filename.json" at the end of command. I hope this helps. Thanks, Jakub
  • Guest
    Mar 14, 2023
    Hi, you can already do this by using custom outputs, see `atlas clusters describe --help` ``` Return the details for the specified cluster for your project. Usage: atlas clusters describe [flags] Aliases: describe, get Examples: # Return the JSON-formatted details for the cluster named myCluster: atlas clusters describe myCluster --output json Flags: -h, --help help for describe -o, --output string Output format. Valid values are json, json-path, go-template, or go-template-file. --projectId string Hexadecimal string that identifies the project to use. This option overrides the settings in the configuration file or environment variable. ``` in particular you could do ``` atlas clusters describe myCluster --output json > myCluster.json ``` and get the json file for myCluster