7782 Commits

Author SHA1 Message Date
Chris Hoffman
29e5ce66bb Minor readability enhancements for migration path from old to new 2017-05-03 14:58:22 -04:00
Brian Kassouf
311acb34a5 Add the plugins catalog API docs 2017-05-03 11:43:24 -07:00
Jeff Mitchell
b0c4a7e266 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
799cd3c7c7 Upate links in docs 2017-05-03 10:25:12 -07:00
Jeff Mitchell
5bc47b0c60 Add taint flag for looking up by accessor 2017-05-03 13:08:50 -04:00
vishalnayak
2d21bf657e logging updates 2017-05-03 12:58:10 -04:00
vishalnayak
a2e431bf7c Added logs when deletion fails so we can rely on server logs 2017-05-03 12:47:05 -04:00
vishalnayak
8d35f92845 consistent logging 2017-05-03 12:45:22 -04:00
Jeff Mitchell
0bda5a7d61 Adhere to tainted status in salted accessor lookup 2017-05-03 12:36:10 -04:00
Jeff Mitchell
415b0a2dd7 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
b3c6a56513 change some logging output 2017-05-03 12:14:58 -04:00
Jeff Mitchell
0c025405d8 Less scary debugging 2017-05-03 11:15:59 -04:00
vishalnayak
b6843ec57d Added summary logs to help better understand the consequence 2017-05-03 10:54:07 -04:00
Calvin Leung Huang
96bcd50de0 Include and use normalizeSerial func 2017-05-03 10:12:58 -04:00
Brian Kassouf
78b27fa765 Add API docs 2017-05-03 02:13:07 -07:00
Brian Kassouf
85967cb5a8 Add custom plugins docs page 2017-05-03 00:01:28 -07:00
Brian Kassouf
2be2e4c74e Update docs for the database backend and it's plugins 2017-05-02 22:24:31 -07:00
Brian Kassouf
60753dcf12 Only wrap in tracing middleware if the logger is set to trace level 2017-05-02 17:19:49 -07:00
Brian Kassouf
d230446b4d Update docs and add cassandra as a builtin plugin 2017-05-02 17:04:49 -07:00
Brian Kassouf
dc5979e3ae Fix wording in docs 2017-05-02 16:20:07 -07:00
Brian Kassouf
fe86f06daf Fix a few PR comments 2017-05-02 15:59:08 -07:00
vishalnayak
a3c2a420e8 Test to check that leases with valid tokens are not being cleaned up 2017-05-02 18:12:03 -04:00
vishalnayak
aa08e5ca4c Added test to check the atomicity of the lease tidy operation 2017-05-02 18:06:59 -04:00
vishalnayak
497bebe403 Do not duplicate log lines for invalid leases 2017-05-02 17:56:15 -04:00
Brian Kassouf
6e7696b840 Remove unused TestCoreUnsealedWithListener function 2017-05-02 14:52:48 -07:00
Brian Kassouf
30a02eded0 Don't need to explictly set redirectAddrs 2017-05-02 14:44:14 -07:00
Brian Kassouf
6d4f1aae53 Merge remote-tracking branch 'oss/database-refactor' into database-refactor 2017-05-02 14:40:33 -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
vishalnayak
79fc0d8d44 Check if multiple leases with same invalid token is getting cleaned up 2017-05-02 17:15:26 -04:00
vishalnayak
d07d3cbc9a Added steps to check if invalid token is properly cleaned up 2017-05-02 17:11:35 -04:00
vishalnayak
853233aa12 Added a test for tidying of empty token 2017-05-02 16:54:03 -04:00
vishalnayak
8c7b1754fc Skip checking the validity of an empty client token 2017-05-02 16:53:41 -04:00
Jeff Mitchell
d300c23597 Add website skeleton 2017-05-02 16:26:32 -04:00
Calvin Leung Huang
8c03765bb5 Use variables for string replacements on cert_util 2017-05-02 14:11:57 -04:00
mhristof
4ba3755c79 fix format for secret/pki (#2668) 2017-05-02 07:52:55 -04: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
31541b7fdd Add plugins interal page to the sidebar: 2017-05-02 02:00:04 -07:00
Brian Kassouf
885398e341 Add internals doc for plugins 2017-05-02 01:59:36 -07:00
Ben Gadbois
f80c851681 Fixing printf (and similar) issues (#2666) 2017-05-01 23:34:10 -04:00
Brian Kassouf
d68f2837f6 Prepend a 'v-' to the sql username strings 2017-05-01 15:45:17 -07:00
Brian Kassouf
66630f642d Add test for custiom mssql revoke statement 2017-05-01 15:43:21 -07:00
Brian Kassouf
6ca436cdf5 Don't store an error response as a package variable 2017-05-01 15:30:56 -07:00
Brian Kassouf
b87f8a13ed Update interface name from Wrapper to a more descriptive RunnerUtil 2017-05-01 14:59:55 -07:00
Seth Vargo
bf9ef7c302 Add UI docs (#2664) 2017-05-01 17:36:37 -04:00
Marc Boudreau
2287780287 Changing the ttl value in the Generate IAM with STS sample to a valid value (#2665) 2017-05-01 14:41:49 -04:00
Chris Hoffman
3f52daca66 changelog++ 2017-05-01 12:32:14 -04:00
Calvin Leung Huang
f3e7ad7669 Honor statements for RevokeUser on Cassandra backend, add method comments 2017-05-01 11:27:35 -04:00
Jeff Mitchell
f86087aba5 changelog++ 2017-05-01 10:42:41 -04:00
Justin Gerace
2e8e9ed02d Add globbing support to the PKI backend's allowed_domains list (#2517) 2017-05-01 10:40:18 -04:00