shell-plugins icon indicating copy to clipboard operation
shell-plugins copied to clipboard

MongoDB CLI (mongosh) provider

Open tresni opened this issue 2 years ago • 1 comments

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.

tresni avatar Oct 20 '23 02:10 tresni

Thank you for your contribution!

techcraver avatar Oct 20 '23 02:10 techcraver