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
Calvin Leung Huang
26cf09ab15
Minor comment update on cert_util
2017-05-03 16:13:54 -04: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
Chris Hoffman
c65c10c87f
changelog++
2017-05-03 15:18:28 -04:00
Jeff Mitchell
7f3891c734
Fix substitution of index/child in delete call
2017-05-03 15:09:13 -04:00
Chris Hoffman
1c14d207b5
Merge pull request #2575 from hashicorp/pki-colons-to-hyphens
...
Change storage of PKI entries from colons to hyphens
2017-05-03 15:07:15 -04:00
Jeff Mitchell
99884a8f13
Merge remote-tracking branch 'oss/master' into sys-tidy-leases
2017-05-03 15:02:42 -04:00
Chris Hoffman
e34a45fdcd
Minor readability enhancements for migration path from old to new
2017-05-03 14:58:22 -04:00
Brian Kassouf
bf29861d49
Add the plugins catalog API docs
2017-05-03 11:43:24 -07:00
Jeff Mitchell
3b95e751c0
Add more cleanup if a lease fails to register and revoke tokens if registerauth fails
2017-05-03 14:29:57 -04:00
Brian Kassouf
e92818e0ae
Upate links in docs
2017-05-03 10:25:12 -07:00
Jeff Mitchell
bb6b5f7aa6
Add taint flag for looking up by accessor
2017-05-03 13:08:50 -04:00
vishalnayak
a1a0c2950f
logging updates
2017-05-03 12:58:10 -04:00
vishalnayak
6aa7f9b7c9
Added logs when deletion fails so we can rely on server logs
2017-05-03 12:47:05 -04:00
vishalnayak
bc5d5b7319
consistent logging
2017-05-03 12:45:22 -04:00
Jeff Mitchell
596ad2c8f7
Adhere to tainted status in salted accessor lookup
2017-05-03 12:36:10 -04:00
Jeff Mitchell
5f18b1605a
Two things:
...
1) Ensure that if we fail to generate a lease for a secret we attempt to revoke it
2) Ensure that any lease that is registered should never have a blank token
In theory, number 2 will let us a) find places where this *is* the case, and b) if errors are encountered when revoking tokens due to a blank client token, it suggests that the client token values are being stripped somewhere along the way, which is also instructive.
2017-05-03 12:17:09 -04:00
Jeff Mitchell
0553f7a8d1
change some logging output
2017-05-03 12:14:58 -04:00
Jeff Mitchell
c9bd54ad65
Less scary debugging
2017-05-03 11:15:59 -04:00
vishalnayak
dd898ed2e1
Added summary logs to help better understand the consequence
2017-05-03 10:54:07 -04:00
Calvin Leung Huang
a00a7815f6
Include and use normalizeSerial func
2017-05-03 10:12:58 -04:00
Brian Kassouf
dbb5b38e0d
Add API docs
2017-05-03 02:13:07 -07:00
Brian Kassouf
63de72c10f
Add custom plugins docs page
2017-05-03 00:01:28 -07:00
Brian Kassouf
50ac77be51
Update docs for the database backend and it's plugins
2017-05-02 22:24:31 -07:00
Brian Kassouf
7ae8f02f4b
Only wrap in tracing middleware if the logger is set to trace level
2017-05-02 17:19:49 -07:00
Brian Kassouf
b60ff2048d
Update docs and add cassandra as a builtin plugin
2017-05-02 17:04:49 -07:00
Brian Kassouf
20994c1247
Fix wording in docs
2017-05-02 16:20:07 -07:00
Brian Kassouf
fdf045b3bd
Fix a few PR comments
2017-05-02 15:59:08 -07:00
vishalnayak
9f682eb9cd
Test to check that leases with valid tokens are not being cleaned up
2017-05-02 18:12:03 -04:00
vishalnayak
850cda7861
Added test to check the atomicity of the lease tidy operation
2017-05-02 18:06:59 -04:00
vishalnayak
875658531b
Do not duplicate log lines for invalid leases
2017-05-02 17:56:15 -04:00
Brian Kassouf
f644c34c5b
Remove unused TestCoreUnsealedWithListener function
2017-05-02 14:52:48 -07:00
Brian Kassouf
5e0c03415b
Don't need to explictly set redirectAddrs
2017-05-02 14:44:14 -07:00
Brian Kassouf
f37c2a8269
Merge remote-tracking branch 'oss/database-refactor' into database-refactor
2017-05-02 14:40:33 -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
vishalnayak
403fd62c61
Check if multiple leases with same invalid token is getting cleaned up
2017-05-02 17:15:26 -04:00
vishalnayak
5f70576715
Added steps to check if invalid token is properly cleaned up
2017-05-02 17:11:35 -04:00
vishalnayak
668595b902
Added a test for tidying of empty token
2017-05-02 16:54:03 -04:00
vishalnayak
68635e8a1c
Skip checking the validity of an empty client token
2017-05-02 16:53:41 -04:00
Jeff Mitchell
712cacaf4d
Add website skeleton
2017-05-02 16:26:32 -04:00
Calvin Leung Huang
2b7a66e23b
Use variables for string replacements on cert_util
2017-05-02 14:11:57 -04:00
mhristof
df325288ac
fix format for secret/pki ( #2668 )
2017-05-02 07:52:55 -04: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
f17c50108f
Add plugins interal page to the sidebar:
2017-05-02 02:00:04 -07:00
Brian Kassouf
a963097747
Add internals doc for plugins
2017-05-02 01:59:36 -07:00
Ben Gadbois
537342f038
Fixing printf (and similar) issues ( #2666 )
2017-05-01 23:34:10 -04:00
Brian Kassouf
98e111d4cd
Prepend a 'v-' to the sql username strings
2017-05-01 15:45:17 -07:00