Jeff Mitchell
b2d2459711
Remove wrapping/wrap from default policy and add a note about guarantees ( #2957 )
2017-07-13 15:29:04 -07:00
Chris Hoffman
8be3a08ceb
Cleaning up logical and auth unmount functions ( #2994 )
2017-07-13 10:57:14 -07:00
Chris Hoffman
2bd032a826
changelog++
2017-07-13 08:34:44 -07:00
Chris Hoffman
5c5b3e6e1a
only check special characters on CLI when not in key=value format ( #2998 )
2017-07-12 13:28:57 -07:00
Chris Hoffman
e317790600
checking for nil backends before attempting to rollback on a backend ( #2997 )
2017-07-12 13:12:55 -07:00
Jeff Mitchell
fa344559c7
changelog++
2017-07-12 15:05:34 -04:00
Jeff Mitchell
ef0108853e
Add token-only. ( #2971 )
2017-07-12 15:04:34 -04:00
Seth Vargo
4dd846657c
Merge pull request #2995 from hashicorp/sethvargo/renewer_bug
...
Do not double-convert to seconds
2017-07-11 17:12:54 -07:00
Seth Vargo
77fccbdd68
Do not double-convert to seconds
2017-07-11 16:06:50 -07:00
Seth Vargo
fbbd9363e3
Update CHANGELOG.md
2017-07-10 22:32:20 -07:00
Seth Vargo
23a8f61d56
Merge pull request #2886 from hashicorp/sethvargo/renew_api
...
Add API helper for renewing a secret
2017-07-10 22:28:12 -07:00
Seth Vargo
2fbb19285b
Fix typo
2017-07-10 22:26:42 -07:00
Chris Hoffman
6034c9adc8
updating for TestCluster changes
2017-07-10 20:47:03 -07:00
Seth Vargo
c29e85125d
Fix doc
2017-07-07 17:15:43 -04:00
Seth Vargo
21a17b69c3
Use the core client
2017-07-07 17:14:49 -04:00
Seth Vargo
8f97e9b04d
Fix failing test
2017-07-07 17:14:49 -04:00
Seth Vargo
da9d57f5f1
Buffer doneCh
2017-07-07 17:14:49 -04:00
Seth Vargo
dfb6166cd8
Add configurable buffer size
2017-07-07 17:14:48 -04:00
Seth Vargo
54224b06dc
Do not block writing to doneCh if stopped
2017-07-07 17:14:48 -04:00
Seth Vargo
ce43621894
Make lock private
2017-07-07 17:14:48 -04:00
Seth Vargo
b2b9cdfdeb
Remove init() seed
2017-07-07 17:14:47 -04:00
Seth Vargo
8cdc0372b7
Fix vet errors
2017-07-07 17:14:47 -04:00
Seth Vargo
c0b2d41d8f
Allow a custom randomizer
2017-07-07 17:14:47 -04:00
Seth Vargo
437b8e71ab
Use Fatalf
2017-07-07 17:14:47 -04:00
Seth Vargo
3d74752524
Use a more heurstic function for calculating sleep backoff
2017-07-07 17:14:46 -04:00
Seth Vargo
a8fe164694
Seed the random generator
2017-07-07 17:14:46 -04:00
Seth Vargo
47260ed024
Move renewer integration tests into separate package
2017-07-07 17:14:46 -04:00
Seth Vargo
91a255bd2f
Use a separate package for API integration tests
...
This removes the cyclic dependency
2017-07-07 17:14:45 -04:00
Seth Vargo
de0250a66f
Send a more useful struct for renewal
2017-07-07 17:14:45 -04:00
Seth Vargo
f9465a8a5b
Reorg
2017-07-07 17:14:45 -04:00
Seth Vargo
320d76422a
Use unbuffered channels
2017-07-07 17:14:45 -04:00
Seth Vargo
7e08052e14
Use a time.Duration instead of an int for grace
2017-07-07 17:14:44 -04:00
Seth Vargo
42354aed99
Use RenewTokenAsSelf instead
2017-07-07 17:14:44 -04:00
Seth Vargo
dcbd729afa
Add secret renewer
2017-07-07 17:14:44 -04:00
Seth Vargo
46fa7be911
Add test stubs for starting a vault server and pg database
2017-07-07 17:14:43 -04:00
Seth Vargo
bf616909f7
Add API helper for renewing a token as another token
2017-07-07 17:14:42 -04:00
Jeff Mitchell
48ab9c54f0
changelog++
2017-07-07 16:18:31 -04:00
Tony Cai
f92f4d4972
Added HANA database plugin ( #2811 )
...
* Added HANA dynamic secret backend
* Added acceptance tests for HANA secret backend
* Add HANA backend as a logical backend to server
* Added documentation to HANA secret backend
* Added vendored libraries
* Go fmt
* Migrate hana credential creation to plugin
* Removed deprecated hana logical backend
* Migrated documentation for HANA database plugin
* Updated HANA DB plugin to use role name in credential generation
* Update HANA plugin tests
* If env vars are not configured, tests will skip rather than succeed
* Fixed some improperly named string variables
* Removed unused import
* Import SAP hdb driver
2017-07-07 13:11:23 -07:00
Vishal Nayak
7d592ecbff
compressutil: Add Snappy support ( #2987 )
2017-07-07 14:43:45 -04:00
Brian Kassouf
9dcea09951
Move database drivers from test files into the plugin files ( #2986 )
2017-07-07 10:38:12 -07:00
Graham Davison
322abf26f9
Moved drivers from plugins/helper/database/connutil/sql.go
to driver test files ( #2980 )
2017-07-07 09:09:48 -04:00
Brian Shumate
2a534bad74
DOCS: Update API docs for /sys/generate-root ( #2978 )
...
- Fix invalid JSON example
2017-07-07 08:25:32 -04:00
Lars Lehtonen
730bb03c77
Fix swallowed errors in builtin ( #2977 )
2017-07-07 08:23:12 -04:00
Lars Lehtonen
71fc3736f7
Fix swallowed error in physical package. ( #2976 )
2017-07-07 08:15:59 -04:00
Jeff Mitchell
3c4c1a53da
changelog++
2017-07-06 10:19:12 -04:00
Jeff Mitchell
4efff56640
Don't dial on backend startup; retry dials at log time so that transient ( #2934 )
...
network failures are worked around. Also, during a reconnect always
close the existing connection.
Fixes #2931
2017-07-06 10:18:18 -04:00
Chris Hoffman
c912a3e083
changelog++
2017-07-05 12:35:39 -04:00
Chris Hoffman
c6f9dbdf46
properly unlock policy when returning key setting errors ( #2974 )
2017-07-05 11:47:15 -04:00
Jeff Mitchell
c6820655bc
changelog++
2017-07-05 11:25:51 -04:00
Jeff Mitchell
a7d0fb7d50
Don't panic in audit logs when reading transit keys. ( #2970 )
2017-07-05 11:25:10 -04:00