Jeff Mitchell
50e3f7d40e
Merge remote-tracking branch 'origin/master' into aws-auth-backend
2016-05-05 10:04:52 -04:00
Jeff Mitchell
d355cb1061
Merge pull request #1380 from hashicorp/refactor-sanitize-ttl
...
Split SanitizeTTL method to support time.Duration parameters as well
2016-05-05 10:00:25 -04:00
vishalnayak
0481976696
Split SanitizeTTL method to support time.Duration parameters as well
2016-05-05 09:45:48 -04:00
vishalnayak
e2927befea
Lower case all policy values in ParsePolicies before processing
2016-05-05 05:22:59 -04:00
Jeff Mitchell
17d02aa46e
Merge branch 'master-oss' into f-vault-service
2016-05-04 17:20:00 -04:00
Jeff Mitchell
51af903891
Address some review feedback
2016-05-04 16:03:53 -04:00
Jeff Mitchell
a110f6cae6
Merge branch 'master-oss' into cubbyhole-the-world
2016-05-04 14:42:14 -04:00
Jeff Mitchell
0a551b0383
Merge pull request #1376 from janstenpickle/patch-1
...
Add scala vault library to list of client libs
2016-05-04 14:40:19 -04:00
Chris Jansen
0ea77f7dda
Add scala vault library to list of client libs
2016-05-04 18:04:28 +01:00
vishalnayak
a74332bb7e
Add the steps to generate the CRL test's test-fixture files
2016-05-04 05:48:34 -04:00
Jeff Mitchell
37d425f873
Update website docs re token store role period parsing
2016-05-04 02:17:20 -04:00
vishalnayak
ef83605f58
Change image/ to a more flexible /role endpoint
2016-05-03 23:36:59 -04:00
Jeff Mitchell
806119f5a1
Fix number of recovery shares output during init
2016-05-03 23:07:09 -04:00
Jeff Mitchell
88811a4776
Cleanups, add shared provider, ability to specify http client, and port S3 physical backend over
2016-05-03 17:01:02 -04:00
Jeff Mitchell
56cc74887f
Region is required so error in awsutil if not set and set if empty in client code in logical/aws
2016-05-03 15:25:11 -04:00
Jeff Mitchell
5aebbcc566
changelog++
2016-05-03 15:12:08 -04:00
Jeff Mitchell
c387a037f5
Merge pull request #1371 from hashicorp/auth-mount-tuning
...
Properly persist auth mount tuning
2016-05-03 15:11:20 -04:00
Jeff Mitchell
56011c9443
Refactor AWS credential code into a function that returns a static->env->instance chain
2016-05-03 15:10:35 -04:00
Jeff Mitchell
0b44170485
changelog++
2016-05-03 14:42:31 -04:00
Jeff Mitchell
92e06e76ed
Merge pull request #1372 from hashicorp/fix-sigint-sighup
...
Properly handle sigint/hup
2016-05-03 14:40:27 -04:00
Jeff Mitchell
4268158c82
Properly handle sigint/hup
2016-05-03 14:30:58 -04:00
Jeff Mitchell
8848136bc6
Properly persist auth mount tuning
2016-05-03 14:24:04 -04:00
Jeff Mitchell
bb3a8d844a
Update deps
2016-05-03 13:23:05 -04:00
Jeff Mitchell
78a2831333
Merge pull request #1370 from hashicorp/go-rootcerts
...
Switch our tri-copy ca loading code to go-rootcerts
2016-05-03 13:11:10 -04:00
Jeff Mitchell
d3f1176e03
Switch our tri-copy ca loading code to go-rootcerts
2016-05-03 12:23:25 -04:00
Jeff Mitchell
e48cb2e840
Add some more tests around deletion and fix upsert status returning
2016-05-03 00:19:18 -04:00
Jeff Mitchell
027d570f7f
Massively simplify lock handling based on feedback
2016-05-02 23:47:18 -04:00
Jeff Mitchell
bf7ad912e1
Remove some deferring
2016-05-02 22:36:44 -04:00
Jeff Mitchell
16267d5115
Change use-hint of lockAll and lockPolicy
2016-05-02 22:36:44 -04:00
Jeff Mitchell
5ec40a14f4
Address review feedback
2016-05-02 22:36:44 -04:00
Jeff Mitchell
c598a12ab9
Switch to lockManager
2016-05-02 22:36:44 -04:00
Jeff Mitchell
3ab71ca239
Address feedback
2016-05-02 22:36:44 -04:00
Jeff Mitchell
ddec2ed86b
Slightly nicer check for LRU in policy store
2016-05-02 22:36:44 -04:00
Jeff Mitchell
634cea72d7
Fix up commenting and some minor tidbits
2016-05-02 22:36:44 -04:00
Jeff Mitchell
32601f4424
Make a non-caching but still locking variant of transit for when caches are disabled
2016-05-02 22:36:44 -04:00
Jeff Mitchell
b18854be70
Plumb disabling caches through the policy store
2016-05-02 22:36:44 -04:00
Jeff Mitchell
e2091c34e7
Bump deps.
2016-05-02 20:11:05 -04:00
Jeff Mitchell
5f47acad1c
changelog++
2016-05-02 20:02:36 -04:00
Jeff Mitchell
7a6144de67
Merge pull request #1368 from hashicorp/issue-1365
...
In a list response, if there are no keys, 404 to be consistent with GET
2016-05-02 20:01:06 -04:00
Jeff Mitchell
491c721a01
Check nil keys and respond internal error if it can't be cast to a []string
2016-05-02 20:00:46 -04:00
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