Calvin Leung Huang
3136fbb678
Fix flag parsing on database plugins, exit on parse error ( #3305 )
...
* Change FlagSet error handling to flag.ExitOnError
* Ignore os.Args[0] (the command itself) when parsing flags
* Revert to using flag.ContinueOnError
2017-09-07 16:30:00 -04:00
Brian Kassouf
a023ab5152
Fix MySQL legacy username regression ( #3141 )
...
* Fix the mysql legacy username length
* Remove boolean parameter
* Add a MySQL 5.6 container to test the legacy MySQL plugin against
* Add database plugins to the make file
* Fix credsutil test
2017-08-10 18:28:18 -07:00
Brian Kassouf
aca4736d7d
Move database drivers from test files into the plugin files ( #2986 )
2017-07-07 10:38:12 -07:00
Graham Davison
0bd78602fa
Moved drivers from plugins/helper/database/connutil/sql.go
to driver test files ( #2980 )
2017-07-07 09:09:48 -04:00
Brian Kassouf
ef979cc02b
Use WeakDecode to decode the initialize values ( #2871 )
2017-06-14 18:59:27 -07:00
Brian Kassouf
606fe393be
Use the role name in the db username ( #2812 )
2017-06-06 09:49:49 -04: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
37bd3ed76e
Use log to output errors instead of fmt
2017-05-03 13:01:05 -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
c8bbea9f37
Rename NewPluginServer to just Serve
2017-05-02 02:00:39 -07: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
4e9f89430c
Move plugins into main vault repo
2017-04-13 13:48:32 -07:00