9692 Commits

Author SHA1 Message Date
Brian Kassouf
dd9cf42ba6 Add Testing Interface to test helpers (#3091)
* Add testing interface

* Add vendored files
2017-08-01 11:07:08 -07:00
Jeff Mitchell
0c3e14f047 Add some useful variable output to three node dev startup 2017-08-01 11:50:41 -04:00
Jeff Mitchell
4a64062daa Use 1-based indexing for unseal keys in three node dev cluster 2017-08-01 11:12:45 -04:00
Jay Crumb
fa9fa9a1cb Fix typo in rekey documentation (#3039) 2017-08-01 10:27:06 -04:00
Jeff Mitchell
54e3d61d6b Use RemoteCredProvider instead of EC2RoleProvider (#2983) 2017-07-31 18:27:16 -04:00
Jeff Mitchell
95ce578842 Add leader cluster address to status/leader output. (#3061)
* Add leader cluster address to status/leader output. This helps in
identifying a particular node when all share the same redirect address.

Fixes #3042
2017-07-31 18:25:27 -04:00
Jeff Mitchell
b55d13cec7 Add link to our security page to the issue template 2017-07-31 18:23:18 -04:00
Calvin Leung Huang
b8afad6f41 Add GitHub template (#3032) 2017-07-31 18:21:28 -04:00
Jeff Mitchell
cc76168922 Use certIPs in all test certs, not just CA 2017-07-31 17:35:51 -04:00
Brian Rodgers
6486a40d47 docs: Added text to clarify that root does not refer to AWS root creds (#2950) 2017-07-31 17:31:44 -04:00
Calvin Leung Huang
f80de5b38d Default mock-plugin type to logical.TypeLogical on Factory func 2017-07-31 16:20:52 -04:00
Jeff Mitchell
82b99c0cc6 changelog++ 2017-07-31 16:18:20 -04:00
Jeff Mitchell
d313e40f6a Make sys/wrapping/lookup unauthenticated. (#3084)
We still perform validation on the token, so if the call makes it
through to this endpoint it's got a valid token (either explicitly
specified in data or as the request token). But this allows
introspection for sanity/safety checking without revoking the token in
the process.
2017-07-31 16:16:16 -04:00
Jeff Mitchell
b1cc7f6038 Fix up tests 2017-07-31 15:31:44 -04:00
Jeff Mitchell
efe5a35c4a Clean up plugin tests with CA info 2017-07-31 15:09:19 -04:00
Jeff Mitchell
211a324d04 Validate opts is not nil in NewTestCluster 2017-07-31 12:13:29 -04:00
Jeff Mitchell
c6615e1b51 Add a -dev-three-node option for devs. (#3081) 2017-07-31 11:28:06 -04:00
Oliver Beattie
4d712a2f48 Convert to dockertest.v3 2017-07-31 15:58:38 +01:00
Oliver Beattie
68d2e5abc2 Remove batching 2017-07-31 15:24:16 +01:00
Oliver Beattie
41998ffbf8 Fix Cassandra backend and tests 2017-07-31 15:24:16 +01:00
Oliver Beattie
c5222319e9 Fix docs to use new style 2017-07-31 15:24:08 +01:00
Filipe Varela
f3d3f49820 Makes naming consistent w/ other storage backends (ie: etcd) 2017-07-31 15:18:07 +01:00
Filipe Varela
11e220c59a Fixes loading JSON pem bundles 2017-07-31 15:18:07 +01:00
Filipe Varela
eb28ea4f7a Fixes loading PEM bundles, JSON next 2017-07-31 15:18:06 +01:00
Filipe Varela
cbbc8be2c9 Adds docs for new configuration options 2017-07-31 15:18:06 +01:00
Filipe Varela
e875ac38a3 Makes naming consistent with 'logical' 2017-07-31 15:18:05 +01:00
Filipe Varela
a4b2c9aaab Use seconds for consistency with rest of project 2017-07-31 15:18:05 +01:00
Filipe Varela
4f539c0290 Adds support for TLS configuration 2017-07-31 15:18:04 +01:00
Filipe Varela
34db1208bb Adds support for authentication, protocol version and connection timeout 2017-07-31 15:18:04 +01:00
Filipe Varela
97681accab Make all operations share Session consistency setting 2017-07-31 15:18:03 +01:00
Oliver Beattie
819f281155 Add dockertest support for Cassandra (it takes a while though ) 2017-07-31 15:18:03 +01:00
Oliver Beattie
3a097a146f Add a (basic) Cassandra storage backend 2017-07-31 15:18:01 +01:00
Calvin Leung Huang
dd72c96dc8 Add BackendType to existing backends (#3078) 2017-07-28 14:04:46 -04:00
Jeff Mitchell
158c21905e Add note about ed25519 hashing to docs and path help.
Fixes #3074
Closes #3076
2017-07-28 09:30:27 -04:00
Chris Hoffman
07e27c4385 changelog++ 2017-07-28 07:25:12 -04:00
Chris Hoffman
c3a4029ad8 changelog++ 2017-07-28 07:23:57 -04:00
Chris Hoffman
de62505d73 initialize the metadata map to fix panic (#3075) 2017-07-28 07:18:26 -04:00
Chris Hoffman
b5cabc2860 Merge pull request #3072 from hashicorp/req-forwarding-recover
Recover from panics during request forwarding
2017-07-27 21:55:41 -04:00
Chris Hoffman
0ac923d38b fixing recovery from x/golang/crypto panics 2017-07-27 21:00:31 -04:00
Jeff Mitchell
6c6f132dcd Try to fix travis timing out errors 2017-07-27 12:35:45 -04:00
Vishal Nayak
9feddee953 Adding logical/identity.go to OSS (#3054) 2017-07-27 11:56:32 -04:00
Jeff Mitchell
cd9d21fa89 Fix error message formatting and response body 2017-07-27 11:44:56 -04:00
Jeff Mitchell
4a951fdeac Recover during a request forward.
gRPC doesn't have a handler for recovering from a panic like a normal
HTTP request so a panic will actually kill Vault's listener. This
basically copies the net/http logic for managing this.

The SSH-specific logic is removed here as the underlying issue is caused
by the request forwarding mechanism.
2017-07-27 11:44:56 -04:00
Chris Hoffman
717ab28e29 adding filtered mount docs (#3059) 2017-07-27 09:28:52 -04:00
Jeff Mitchell
823cef4cbf Make logical.InmemStorage standalone (#3066) 2017-07-26 17:59:14 -04:00
Xiang Li
ff6eb1813d physical: format fixes (#3062) 2017-07-26 17:51:58 -04:00
Brian Kassouf
a9d4b887e3 Add docs for DR Replication (#3067)
* Add docs for DR Replication

* Fix up docs
2017-07-26 13:47:41 -07:00
Jonathan Duncan
0879694c3c Updated policy format to use capabilities keyword (#3063)
The `policy` key name is deprecated and has been replaced with `capabilities`.
2017-07-26 14:05:11 -04:00
Calvin Leung Huang
c78d077e6e Fix gob register issue when using tls certs on plugins (#3060) 2017-07-26 13:44:07 -04:00
Jeff Mitchell
1b1220f6e6 Bump timeout in testrace to match that of test to stop Travis errorring. 2017-07-26 13:03:04 -04:00