Andrew Paulin
776019963b
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
9fd39a0681
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
185ba8a1c3
Only run cassandra tests on Travis for right now
2017-05-09 08:36:20 -04:00
Brian Kassouf
9faf234869
Fix the TLS functionality in cassandra plugin
2017-05-03 15:36:49 -07:00
Brian Kassouf
b1a5f45d2c
Fix parsing the connection duration when it's nil
2017-05-03 13:45:27 -07:00
Brian Kassouf
015e63164b
Fix mysql plugin tests
2017-05-03 13:36:16 -07:00
Brian Kassouf
223598c675
Add the other mysql plugin types with the correct username length settings
2017-05-03 13:33:56 -07:00
Brian Kassouf
cf15c023df
Use ParseDurationSecond to parse the timeouts in connutil
2017-05-03 13:11:30 -07:00
Brian Kassouf
37bd3ed76e
Use log to output errors instead of fmt
2017-05-03 13:01:05 -07:00
Brian Kassouf
fdf045b3bd
Fix a few PR comments
2017-05-02 15:59:08 -07:00
Brian Kassouf
29d9b831d3
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
ca7ff89bcb
Fix documentation
2017-05-02 02:22:06 -07:00
Brian Kassouf
c8bbea9f37
Rename NewPluginServer to just Serve
2017-05-02 02:00:39 -07:00
Brian Kassouf
98e111d4cd
Prepend a 'v-' to the sql username strings
2017-05-01 15:45:17 -07:00
Brian Kassouf
0e70ba8dbc
Add test for custiom mssql revoke statement
2017-05-01 15:43:21 -07:00
Calvin Leung Huang
5076701bea
Honor statements for RevokeUser on Cassandra backend, add method comments
2017-05-01 11:27:35 -04:00
Brian Kassouf
43cf619871
Update the username length for postgresql
2017-04-27 23:02:33 -07:00
Brian Kassouf
9a07675d86
Update username length for MSSQL
2017-04-27 22:59:22 -07:00
Brian Kassouf
c11f2638b9
If user provides a revocation statement for MSSQL plugin honor it
2017-04-27 22:56:06 -07:00
Calvin Leung Huang
785bce7469
Merge pull request #2632 from hashicorp/cassandra-plugin
...
Add cassandra plugin
2017-04-27 16:28:33 -04:00
Calvin Leung Huang
fadf6c439f
Update New() func signature and its references
2017-04-27 11:07:52 -04:00
Brian Kassouf
6252f48dfe
Fix MSSQL test
2017-04-26 10:52:10 -07:00
Brian Kassouf
6a1ae9160d
Add mssql builtin plugin type
2017-04-26 10:34:45 -07:00
Brian Kassouf
378ae98809
s/DatabaseType/Database/
2017-04-24 13:59:12 -07:00
Calvin Leung Huang
b7e69d0cb6
Remove commented old method signature
2017-04-23 00:04:05 -04:00
Calvin Leung Huang
c005f8fc91
Add cassandra plugin
2017-04-23 09:02:57 +08:00
Brian Kassouf
30b06b593c
Fix tests
2017-04-21 09:10:26 -07:00
Brian Kassouf
6f9d178370
Calls to builtin plugins now go directly to the implementation instead of go-plugin
2017-04-20 18:46:41 -07:00
Brian Kassouf
fcbcc22bd9
Fix cassandra deps breakage
2017-04-19 11:19:29 -07:00
Chris Hoffman
09cdea92fd
Adding explicit database to sp_msloginmappings call ( #2611 )
2017-04-18 14:32:08 -07:00
Brian Kassouf
3b4768c5fb
Only run mssql acceptance test when running as VAULT_ACC=1
2017-04-13 14:40:59 -07:00
Brian Kassouf
189909931b
Move mssql to be an acceptance test
2017-04-13 14:30:15 -07:00
Brian Kassouf
4e9f89430c
Move plugins into main vault repo
2017-04-13 13:48:32 -07:00