shell-plugins
shell-plugins copied to clipboard
MongoDB CLI (mongosh) provider
Overview
This provider takes a bunch of optional arguments/fields. The most important one is "database". That can be used for either specifying just a database name in conjuction with the other arguments/fields, or to supply a MongoDB connection string
(e.g. mongodb+srv://username:[email protected]:27017/database?options).
I generally use a username, password, and a connection string without username and password in it.
I modeled after the mysql and postgres providers.
Type of change
- [X] Created a new plugin
- [ ] Improved an existing plugin
- [ ] Fixed a bug in an existing plugin
- [ ] Improved contributor utilities or experience
How To Test
op init plugin mongosh
op plugin run -- mongosh
Changelog
Authenticate the MongoDB CLI using Touch ID and other unlock options with 1Password Shell Plugins.
Thank you for your contribution!