gopass-to-devcenter-connections
v0.0.1
Published
Generate Datastax DevCenter connection list out of a gopass password store
Downloads
6
Maintainers
Readme
Gopass secrets to DevCenter connections
Tired of maintaining your dozens of Cassandra connections in DevCenter manually although you maintain your connection details in gopass already? Try this out.
Usage
It's very simple until now and not intended to match every use case, yet. At the moment there are several (partly configurable) assumptions made by the tool:
- The first segment of the relevant secret names is something like your store name, e.g.
company/...
- The second segment is the prefix,
cassandra
by default and configurable by-p
or--prefix
- The third segment is the environment of a Cassandra,
dev
,pp
orprod
by default and configurable with-e
or--environments
- The fourth segment is some purpose of that Cassandra or the connection, e.g.
my-app
- The sixth segment is one of the concrete connection details;
username
,password
andnodes
by default and configurable with-d
or--details
A full custom example:
node StartProgram.js --prefix cassandra --environments develop,pre-prod,production --details username,password,nodez
Contribution
I'm open to any kind of contribution, feel free to open issues and pull requests as you have some ideas.