7782 Commits

Author SHA1 Message Date
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
Lars Lehtonen
79b1c910fe Handle dropped checkok pattern in postgresql package (#3046) 2017-07-26 12:28:02 -04:00
James Phillips
06a19456ff Fixes a typo in the VSI doc. (#3047) 2017-07-26 12:18:52 -04:00
Lars Lehtonen
aade17cddc fix swallowed error in vault package. (#2993) 2017-07-26 12:15:54 -04:00
Xiang Li
64d412e111 physical: add default timeout for etcd3 requests (#3053) 2017-07-26 12:10:12 -04:00
Jeremy Voorhis
6e311aa598 s/alterate/alternate/ (#3056) 2017-07-26 11:44:06 -04:00
Vishal Nayak
96e8ffea5a docs: Identity Store (#3055) 2017-07-25 18:33:17 -04:00
Jeff Mitchell
3fb82dbb66
Cut version 0.8.0-beta1 v0.8.0-beta1 2017-07-25 17:44:33 -04:00
Calvin Leung Huang
ce1e883a4f Do not send storage on HandleRequest and HandleExistenceCheck on plugins 2017-07-25 16:57:26 -04:00
Jeff Mitchell
b0ce99d22f Update dockerfile to use debian stable 2017-07-25 16:44:31 -04:00
Jeff Mitchell
75c8c88c47 Sirupsen->sirupsen 2017-07-25 15:49:10 -04:00