Atlas CLI
The MongoDB Atlas Command Line Interface, or Atlas CLI (mongodb-atlas-cli), allows you to create, manage, and automate operations related to your MongoDB Atlas deployment. This includes tasks like provisioning clusters, creating and deleting users, and controlling network access. You can also access related products like Atlas Search. With the Atlas CLI, you can quickly interact with MongoDB services from the command line for easier testing and scripting.
To report bugs, please use our mongodbcli github issues.
-
Add a command to open the CLI config on my system editor
A new command like
mongocli config edit
that opens the config file on my system editor2 votes -
Add option for generating curl command
Currently when we are getting a 500 error back it is difficult to debug what is going wrong and we need to replicate the rest api call via curl.
Would be nice to have an option in order to generate the curl command that replicates the mongocli call in order to easily test the command.This is valid for Atlas/OM/CM
2 votes -
Add description of JSON file used to create cluster.
According to doco https://www.mongodb.com/docs/atlas/cli/upcoming/command/atlas-clusters-create/
"For full control of your deployment, or to create multi-cloud clusters, provide a JSON configuration file with the --file flag."
it would be nice to get detailed description what should be in this file, what can be changed and what is the expected format of parameters in this file.
1 vote -
Add API to create new organisation
looks like there is no API to create Organisation. and API Key belongs to organisation as well. so probably need Global API Key similar to what we have in OPS Manager.
there should be another API to link organisations.
1 vote -
Add --currentIp to atlas accessList
Would be nice to have the --currentIp option when using "atlas accessList".
The current workaround in linux/macOS ismongocli atlas accessList create
curl ifconfig.me
1 vote -
The "mongocli atlas clusters list" command ought to return hosts in an array
The 'mongocli atlas metrics databases list' command expects a hostname argument. Currently, one has to parse out the hosts from the URI returned from the cluster list command. It would be easier if the cluster list command returned the hosts in a command along with the replica set status, so that one could easier script the descent from the cluster into cluster details and info.
1 vote -
Username is case sensitive
with username "Shamim" authentication failed where as "shamim" works
1 vote -
Add user by email address
I'd like to be able to specify a user's e-mail address when adding them to a group from the mongocli.
mongocli iam teams create
allows one to pass in e-mail addresses. Butmongocli iam teams users add
requires the UUID of the user.
For reference: https://github.com/mongodb/mongocli/issues/6061 vote
- Don't see your idea?