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.
25 results found
-
list all Atlas Search indexes for a cluster
The list Atlas Search indexes command,
https://www.mongodb.com/docs/atlas/cli/stable/command/atlas-clusters-search-indexes-list/ought to not require the collections and db parameters. It should list indexes for all for the cluster and for a database.
2 votes -
add a command to list and check the invoices
It would be great if there will be the possibility to get information about invoices with atlas-cli like via API.
3 votesThanks for voting on this request to add support for a command to list and check invoices via the Atlas CLI. Great news: the latest version of the Atlas CLI ships with a new Public Preview feature that makes all Atlas Admin API endpoints available, including invoices.
You can now run commands like `atlas api invoices listInvoices` to return invoices for your organization. We're written an overview for using the feature here, and you can read more about the invoices subcommand, as well as other new `api` subcommands in our documentation here.
Please note that the `atlas api` subcommand is a Public Preview feature; we'd love you to try it and to submit your feedback here. Thanks again for your suggestions and votes.
-
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?