Seth Vargo
ae7d6da993
Allow a custom randomizer
2017-07-07 17:14:47 -04:00
Seth Vargo
5f658abc12
Use Fatalf
2017-07-07 17:14:47 -04:00
Seth Vargo
207e1d5dd3
Use a more heurstic function for calculating sleep backoff
2017-07-07 17:14:46 -04:00
Seth Vargo
f18b7fd6dc
Seed the random generator
2017-07-07 17:14:46 -04:00
Seth Vargo
10cdc62c62
Move renewer integration tests into separate package
2017-07-07 17:14:46 -04:00
Seth Vargo
a09c84ce75
Use a separate package for API integration tests
...
This removes the cyclic dependency
2017-07-07 17:14:45 -04:00
Seth Vargo
d711dfebd1
Send a more useful struct for renewal
2017-07-07 17:14:45 -04:00
Seth Vargo
951421e613
Reorg
2017-07-07 17:14:45 -04:00
Seth Vargo
1ea998e2f5
Use unbuffered channels
2017-07-07 17:14:45 -04:00
Seth Vargo
dcdbef1dfb
Use a time.Duration instead of an int for grace
2017-07-07 17:14:44 -04:00
Seth Vargo
62e1f5c498
Use RenewTokenAsSelf instead
2017-07-07 17:14:44 -04:00
Seth Vargo
77ee95cb82
Add secret renewer
2017-07-07 17:14:44 -04:00
Seth Vargo
4069eb21b6
Add test stubs for starting a vault server and pg database
2017-07-07 17:14:43 -04:00
Seth Vargo
506a304ecc
Add API helper for renewing a token as another token
2017-07-07 17:14:42 -04:00
Jeff Mitchell
45e4a2b1f8
changelog++
2017-07-07 16:18:31 -04:00
Tony Cai
07088fe8a0
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
5dbf30eb81
compressutil: Add Snappy support ( #2987 )
2017-07-07 14:43:45 -04: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 Shumate
40b365ae61
DOCS: Update API docs for /sys/generate-root ( #2978 )
...
- Fix invalid JSON example
2017-07-07 08:25:32 -04:00
Lars Lehtonen
3f0b15826a
Fix swallowed errors in builtin ( #2977 )
2017-07-07 08:23:12 -04:00
Lars Lehtonen
78edb1bc76
Fix swallowed error in physical package. ( #2976 )
2017-07-07 08:15:59 -04:00
Jeff Mitchell
2c801003b9
changelog++
2017-07-06 10:19:12 -04:00
Jeff Mitchell
488aad00b0
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
1492352e5e
changelog++
2017-07-05 12:35:39 -04:00
Chris Hoffman
551f91e8e2
properly unlock policy when returning key setting errors ( #2974 )
2017-07-05 11:47:15 -04:00
Jeff Mitchell
029d52e50c
changelog++
2017-07-05 11:25:51 -04:00
Jeff Mitchell
873aacf23f
Don't panic in audit logs when reading transit keys. ( #2970 )
2017-07-05 11:25:10 -04:00
Jeff Mitchell
675230ce08
changelog++
2017-07-05 09:44:59 -04:00
Will May
23ff17c769
Allow Okta auth backend to specify TTL and max TTL values ( #2915 )
2017-07-05 09:42:37 -04:00
Lars Lehtonen
5ee98b9b6e
Fix swallowed errors in http package. ( #2972 )
2017-07-05 09:35:57 -04:00
Jeff Mitchell
7394214b94
Don't indicate signed data can be returned as hex.
...
Fixes #2953
2017-07-04 15:06:50 -04:00
Chris Hoffman
8c179c246f
Fixing reverse storage prefix lookup for auth entries ( #2967 )
...
* fixing reverse storage prefix for auth entries
* adding test
2017-07-04 14:00:36 -04:00
Brian Shumate
4d6ca4c884
DOCS: fix typo in ssh path help ( #2966 )
2017-07-04 13:59:34 -04:00
Jasper Siepkes
5ae38eb745
Added documentation for working with MySQL wildcards in GRANT ( #2963 )
2017-07-04 13:59:08 -04:00
Lars Lehtonen
d0a3f07b07
Stop Vault Package Tests From Swallowing Errors ( #2960 )
...
* Fix ignored error in TestAESGCMBarrier_MoveIntegrityV1().
* Fix ignored error in TestAESGCMBarrier_MoveIntegrityV2().
* Fix ignored err in TestExpiration_Tidy().
* Fix ignored error in TestSystemBackend_policyCRUD().
2017-07-04 13:58:28 -04:00
Jeff Mitchell
753b68fa1b
Port TestCluster changes from proxy branch
2017-07-03 14:54:01 -04:00
Brian Shumate
5fb9c73e1d
DOCS: fix typo ( #2965 )
2017-07-03 12:40:31 -04:00
Jeff Mitchell
efbef2672b
changelog++
2017-07-02 18:57:01 -04:00
Yann
27ca1c40c2
[physical][postgresql] concat
→||
operator ( #2945 )
...
Use `||` standard concatenation instead of the `concat` function in
order to use the `vault_kv_store` index on `parent_path`.
2017-07-02 18:56:18 -04:00
Cameron Stokes
711d6e6569
[docs] Add requirements for hsm. ( #2941 )
2017-07-01 21:21:51 +01:00
vishalnayak
79b5d2f5bb
fix token store tests
2017-07-01 16:06:15 -04:00
vishalnayak
e0404d17e9
fix router tests
2017-06-30 22:06:17 -04:00
vishalnayak
3f9ec7a2e2
fix expiration tests
2017-06-30 21:31:27 -04:00
Cameron Stokes
4ae3e1295a
[docs] production hardening typo
2017-06-30 15:18:17 -07:00
Jeff Mitchell
e52ec0aacf
Bring TestCluster_ListenForRequests port numbers in line with spread out ports from earlier change
2017-06-30 13:31:57 -04:00
Vishal Nayak
4b26425609
Input validation for router mount ( #2942 )
...
* Added input validation for router mount
* Add path and type in returned errors
2017-06-29 17:00:13 -04:00
Chris Hoffman
c110f2188d
Adding prefixed view of a physical backend ( #2938 )
2017-06-29 10:58:59 -04:00
Seth Vargo
00e2213790
Add rekeying guide & move guides to top-level ( #2935 )
2017-06-29 14:43:43 +01:00
Jeff Mitchell
034a1f91be
Fix missed 10->100 conversion in tests
2017-06-29 01:45:48 -04:00