Jeff Mitchell
289fd548ca
In a list response, if there are no keys, 404 to be consistent with GET
...
and with different backend conditions
Fixes #1365
2016-05-02 19:38:06 -04:00
vishalnayak
7945e4668a
Allow custom endpoint URLs to be supplied to make EC2 API calls
2016-05-02 17:21:52 -04:00
Jeff Mitchell
aa2ca4340e
Merge pull request #1366 from hashicorp/sethvargo/elink
...
Track enhanced links
2016-05-02 16:03:59 -04:00
Seth Vargo
84229a5756
Track enhanced links
2016-05-02 15:57:23 -04:00
Jeff Mitchell
35908663ff
Don't check if numuses is -1 with a read lock, it shouldn't come in with that from lookup anyways
2016-05-02 15:31:28 -04:00
Jeff Mitchell
90519797f9
Use a 256-level mutex map instead of 4096, and optimize the case for tokens that are not limited use
2016-05-02 14:57:17 -04:00
Vishal Nayak
3b22ee722e
Merge pull request #1363 from hashicorp/fix-cert-tests
...
Extend the expiry of test-fixture certs of Cert backend
2016-05-02 13:11:47 -04:00
vishalnayak
e032f9144c
Extend the expiry of test-fixture certs of Cert backend
2016-05-02 12:34:46 -04:00
Jeff Mitchell
d8ed24ac8a
Remove MountPoint from internal wrap object, for now at least
2016-05-02 10:29:51 -04:00
Jeff Mitchell
06e2044372
Change UseToken mechanics.
...
Add locking around UseToken and Lookup. Have UseToken flag an entry that
needs to be revoked so that it can be done at the appropriate time, but
so that Lookup in the interm doesn't return a value.
The locking is a map of 4096 locks keyed off of the first three
characters of the token ID which should provide good distribution.
2016-05-02 03:44:24 -04:00
Jeff Mitchell
ff4dc0b853
Add wrap support to API/CLI
2016-05-02 02:03:23 -04:00
Jeff Mitchell
21c0e4ee42
Add wrapping through core and change to use TTL instead of Duration.
2016-05-02 00:47:35 -04:00
Jeff Mitchell
778d000b5f
Add:
...
* Request/Response field extension
* Parsing of header into request object
* Handling of duration/mount point within router
* Tests of router WrapDuration handling
2016-05-02 00:24:32 -04:00
Jeff Mitchell
93a14e12ae
changelog++
2016-05-02 00:20:00 -04:00
Jeff Mitchell
91fd290d6f
Merge pull request #1362 from hashicorp/issue-1359
...
Make GitHub org comparison case insensitive.
2016-05-02 00:19:22 -04:00
Jeff Mitchell
e198037788
Make GitHub org comparison case insensitive.
...
Fixes #1359
2016-05-02 00:18:31 -04:00
Jeff Mitchell
3ee3d2789a
Merge pull request #1361 from hashicorp/issue-1360
...
Fix help text around preference of ca-cert/ca-path.
2016-05-02 00:09:40 -04:00
Jeff Mitchell
e4cf6bad6e
Fix help text around preference of ca-cert/ca-path.
...
Fixes #1360
2016-05-02 00:08:59 -04:00
vishalnayak
9290639b00
Merge branch 'aws-auth-backend' of https://github.com/hashicorp/vault into aws-auth-backend
2016-04-30 03:20:44 -04:00
vishalnayak
57e6361b24
Remove unnecessary append call
2016-04-30 03:20:21 -04:00
Sean Chittenden
1df788a73c
Be idiomatic. Use a switch instead of if/else
2016-04-29 11:35:33 -07:00
Jeff Mitchell
6a68ff45a9
Add vendored pkcs7 lib
2016-04-29 14:33:08 +00:00
Jeff Mitchell
7fd49439f6
Merge branch 'master-oss' into aws-auth-backend
2016-04-29 14:23:16 +00:00
Jeff Mitchell
a26d992e9a
Merge pull request #1357 from hashicorp/cert-crl-test
...
Cert backend, CRL tests
2016-04-29 09:50:48 -04:00
vishalnayak
bbb3efdc67
Cert backend, CRL tests
2016-04-29 02:32:48 -04:00
vishalnayak
fed55cff94
Ensure that the instance is running during renewal
2016-04-28 16:34:35 -04:00
Sean Chittenden
01fac00f20
Remove useless return statement
2016-04-28 13:16:17 -07:00
Jeff Mitchell
cde1de2b91
changelog++
2016-04-28 15:28:44 -04:00
Jeff Mitchell
9d0672bc1a
Merge pull request #1356 from hashicorp/token-store-lookup-params
...
Fix fetching parameters in token store when it's optionally in the URL
2016-04-28 15:27:43 -04:00
Jeff Mitchell
a0db3f10dc
Fix fetching parameters in token store when it's optionally in the URL
2016-04-28 15:15:37 -04:00
Jeff Mitchell
b5b8ac8686
Ensure seal finalizing happens even when using verify-only
2016-04-28 14:06:05 -04:00
Sean Chittenden
77dc1bd96b
Refactor the Consul Backend to match evented demuxer
2016-04-28 11:05:18 -07:00
Sean Chittenden
46f48f79f4
Debug log consul configuration parameters when set
2016-04-28 11:05:18 -07:00
Sean Chittenden
f2fd046abf
Name the output parameters for Leader
2016-04-28 11:05:18 -07:00
Sean Chittenden
eedd7f0c39
Change the interface of ServiceDiscovery
...
Instead of passing state, signal that the state has changed and provide a callback handler that can query Core.
2016-04-28 11:05:18 -07:00
Sean Chittenden
025b995f24
Fix logger output
...
Pointed out by: ryanuber
2016-04-28 11:05:18 -07:00
Jeff Mitchell
4d22c904dc
Fix some rekey testing expected seal type logic
2016-04-28 17:13:03 +00:00
Jeff Mitchell
024c1096e7
Explicitly toggle cgo in makefile
2016-04-28 16:54:34 +00:00
Jeff Mitchell
0b4681155c
minor fix for expected barrier type in rekey test
2016-04-28 16:52:32 +00:00
vishalnayak
0b44a62e8f
Added allow_instance_migration to the role tag
2016-04-28 11:43:48 -04:00
vishalnayak
a2c024ff96
Updated docs
2016-04-28 11:25:47 -04:00
vishalnayak
1a3c0a1f3e
Change all time references to UTC
2016-04-28 10:19:29 -04:00
vishalnayak
ba88b210e6
Fix the deadlock issue
2016-04-28 01:01:33 -04:00
vishalnayak
05c10dad94
minor updates
2016-04-28 00:35:49 -04:00
vishalnayak
ba62ef6a86
Refactor locks around config tidy endpoints
2016-04-27 22:32:43 -04:00
vishalnayak
c7bfdd7ed0
Fix locking around config/client
2016-04-27 22:25:15 -04:00
vishalnayak
0b561d668b
Fix the list response of role tags
2016-04-27 22:03:11 -04:00
vishalnayak
329361f951
Removed existence check on blacklist/roletags, docs fixes
2016-04-27 21:29:32 -04:00
Jeff Mitchell
a0b50b1f68
Rename build tags
2016-04-28 00:59:33 +00:00
Jeff Mitchell
1010591193
Built tag-ify sealtesting
2016-04-28 00:47:44 +00:00