Commit Graph

8 Commits

Author SHA1 Message Date
Calvin Leung Huang
7d55652927 credsutil: Include hyphen as part of reqStr (#3037) 2017-08-03 07:34:53 -04:00
Brian Kassouf
abc900157b Use the role name in the db username (#2812) 2017-06-06 09:49:49 -04:00
Calvin Leung Huang
a4c652cbb3 Mongodb plugin (#2698)
* WIP on mongodb plugin

* Add mongodb plugin

* Add tests

* Update mongodb.CreateUser() comment

* Update docs

* Add missing docs

* Fix mongodb docs

* Minor comment and test updates

* Fix imports

* Fix dockertest import

* Set c.Initialized at the end, check for empty CreationStmts first on CreateUser

* Remove Initialized check on Connection()

* Add back Initialized check

* Update docs

* Move connProducer and credsProducer into pkg for  mongodb and cassandra

* Chage parseMongoURL to be a private func

* Default to admin if no db is provided in creation_statements

* Update comments and docs
2017-05-11 17:38:54 -04:00
Brian Kassouf
1df8ec9ef7 Update the api for serving plugins and provide a utility to pass TLS data for commuinicating with the vault process 2017-05-02 14:40:11 -07:00
Calvin Leung Huang
f3e7ad7669 Honor statements for RevokeUser on Cassandra backend, add method comments 2017-05-01 11:27:35 -04:00
Calvin Leung Huang
230a36c5a1 Update New() func signature and its references 2017-04-27 11:07:52 -04:00
Calvin Leung Huang
2faa08dfba Remove commented old method signature 2017-04-23 00:04:05 -04:00
Calvin Leung Huang
c5d5abef11 Add cassandra plugin 2017-04-23 09:02:57 +08:00