Brian Kassouf
b9871fc9ad
Use WeakDecode to decode the initialize values ( #2871 )
2017-06-14 18:59:27 -07:00
Brian Kassouf
abc900157b
Use the role name in the db username ( #2812 )
2017-06-06 09:49:49 -04:00
Andrew Paulin
d004ad75db
Support custom renewal statements in Postgres ( #2788 )
...
* Support custom renewal statements in Postgres
* Refactored out default/custom renew methods
2017-06-01 13:18:16 -07: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
Jeff Mitchell
2e567bd5e7
Only run cassandra tests on Travis for right now
2017-05-09 08:36:20 -04:00
Brian Kassouf
5b8ce92e12
Fix mysql plugin tests
2017-05-03 13:36:16 -07:00
Brian Kassouf
657826d274
Add the other mysql plugin types with the correct username length settings
2017-05-03 13:33:56 -07:00
Brian Kassouf
f424a9ad79
Use log to output errors instead of fmt
2017-05-03 13:01:05 -07: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
Brian Kassouf
7f92c5f47f
Fix documentation
2017-05-02 02:22:06 -07:00
Brian Kassouf
6ddfe9aa7f
Rename NewPluginServer to just Serve
2017-05-02 02:00:39 -07:00
Brian Kassouf
66630f642d
Add test for custiom mssql revoke statement
2017-05-01 15:43:21 -07:00
Calvin Leung Huang
f3e7ad7669
Honor statements for RevokeUser on Cassandra backend, add method comments
2017-05-01 11:27:35 -04:00
Brian Kassouf
445a0e339b
Update the username length for postgresql
2017-04-27 23:02:33 -07:00
Brian Kassouf
6684e5c91d
Update username length for MSSQL
2017-04-27 22:59:22 -07:00
Brian Kassouf
766b90976d
If user provides a revocation statement for MSSQL plugin honor it
2017-04-27 22:56:06 -07:00
Calvin Leung Huang
47df4acdf1
Merge pull request #2632 from hashicorp/cassandra-plugin
...
Add cassandra plugin
2017-04-27 16:28:33 -04:00
Calvin Leung Huang
230a36c5a1
Update New() func signature and its references
2017-04-27 11:07:52 -04:00
Brian Kassouf
cb13786f0a
Fix MSSQL test
2017-04-26 10:52:10 -07:00
Brian Kassouf
dc9740d97a
Add mssql builtin plugin type
2017-04-26 10:34:45 -07:00
Brian Kassouf
f6b96ccfa2
s/DatabaseType/Database/
2017-04-24 13:59:12 -07: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
Brian Kassouf
9abc31ece7
Fix tests
2017-04-21 09:10:26 -07:00
Brian Kassouf
f1fa617e03
Calls to builtin plugins now go directly to the implementation instead of go-plugin
2017-04-20 18:46:41 -07:00
Chris Hoffman
370dd2d2f2
Adding explicit database to sp_msloginmappings call ( #2611 )
2017-04-18 14:32:08 -07:00
Brian Kassouf
1f6bf2900a
Only run mssql acceptance test when running as VAULT_ACC=1
2017-04-13 14:40:59 -07:00
Brian Kassouf
ea4173406e
Move mssql to be an acceptance test
2017-04-13 14:30:15 -07:00
Brian Kassouf
be50cbae91
Move plugins into main vault repo
2017-04-13 13:48:32 -07:00