Jeff Mitchell
a4a27e7c3a
Make cubbyhole local instead of replicated. ( #2397 )
...
This doesn't really change behavior, just what it looks like in the UX.
However, it does make tests more complicated. Most were fixed by adding
a sorting function, which is generally useful anyways.
2017-02-18 13:51:05 -05:00
Jeff Mitchell
476446e24d
Fix TypeDurationSecond to not panic at runtime if the given default is a string ( #2396 )
...
Fix TypeDurationSecond to not panic at runtime if the given default is a string.
Fixes #myownannoyance
2017-02-17 17:25:53 -05:00
Jeff Mitchell
210d07c8a1
Change additional options usage in meta to a func to remove build tags.
2017-02-17 12:09:20 -05:00
Jeff Mitchell
78269445a8
Fix missing newline in status output
2017-02-17 11:23:20 -05:00
Jeff Mitchell
8f6c23a131
Final rep porting ( #2392 )
2017-02-17 09:15:35 -05:00
Jeff Mitchell
ec3e08b2c0
changelog++
2017-02-17 09:15:13 -05:00
Colin Arenz
b9e1ef142c
Fix listing of deep paths in PostgreSQL backend ( #2393 )
...
This change addresses an issue where deep paths would not be enumerated if parent paths did not contain a key.
Given the keys `shallow` and `deep` at the following paths...
```
secret/shallow
secret/path/deep
```
... a `LIST` request against `/v1/secret` would produce only one result, `shallow`. With this change, the same list request will now list `shallow` and `path/`.
2017-02-17 09:14:11 -05:00
Jeff Mitchell
cda27d5834
Update deps, particularly to ensure https://aws.amazon.com/blogs/developer/aws-sdk-for-go-update-needed-for-go-1-8/ is covered
2017-02-16 23:42:07 -05:00
Jeff Mitchell
61ea6f72b6
Make reindex a root path as well
2017-02-16 23:36:06 -05:00
Jeff Mitchell
ca8b1c2b5d
Remove now-unnecessary stanza from default policy
2017-02-16 23:30:38 -05:00
Jeff Mitchell
27de15085d
changelog++
2017-02-16 23:27:23 -05:00
Jeff Mitchell
185ead5a13
Internally append trailing slash for all LIST operations. ( #2390 )
...
Fixes #2385
2017-02-16 23:23:32 -05:00
Jeff Mitchell
951d140be1
Fix rep path fetching method into a function
2017-02-16 23:23:21 -05:00
Jeff Mitchell
5780c8eca0
More rep porting ( #2391 )
...
* More rep porting
* Add a bit more porting
2017-02-16 23:09:39 -05:00
Jeff Mitchell
2901591511
More porting from rep ( #2389 )
...
* More porting from rep
* Address feedback
2017-02-16 20:13:19 -05:00
Jeff Mitchell
8acbdefdf2
More porting from rep ( #2388 )
...
* More porting from rep
* Address review feedback
2017-02-16 16:29:30 -05:00
Jeff Mitchell
98c7bd6c03
Port some replication bits to OSS ( #2386 )
2017-02-16 15:15:02 -05:00
Jeff Mitchell
e350a16205
Move ReplicationState to consts
2017-02-16 13:37:21 -05:00
Brian Kassouf
bc16792ffd
Load leases into the expiration manager in parallel ( #2370 )
...
* Add a benchmark for exiration.Restore
* Add benchmarks for consul Restore functions
* Add a parallel version of expiration.Restore
* remove debug code
* Up the MaxIdleConnsPerHost
* Add tests for etcd
* Return errors and ensure go routines are exited
* Refactor inmem benchmark
* Add s3 bench and refactor a bit
* Few tweaks
* Fix race with waitgroup.Add()
* Fix waitgroup race condition
* Move wait above the info log
* Add helper/consts package to store consts that are needed in cyclic packages
* Remove not used benchmarks
2017-02-16 10:16:06 -08:00
Jeff Mitchell
64d63ba55a
Add some repcluster handling to audit and add some tests ( #2384 )
...
* Add some repcluster handling to audit and add some tests
* Fix incorrect assumption about nil auth
2017-02-16 13:09:53 -05:00
Jeff Mitchell
513f8b918d
Add WithOptions methods to audit/auth enabling ( #2383 )
2017-02-16 11:37:27 -05:00
Frank Gevaerts
6d49eb7b8f
Update hsm.html.md ( #2381 )
2017-02-16 07:25:22 -05:00
Jeff Mitchell
28883acc16
Fix copypasta, thanks tests
2017-02-16 01:32:39 -05:00
Jeff Mitchell
ead5a34ca7
changelog++
2017-02-16 01:05:32 -05:00
Jeff Mitchell
5e5d9baabe
Add Organization support to PKI backend. ( #2380 )
...
Fixes #2369
2017-02-16 01:04:29 -05:00
Jeff Mitchell
106521b128
changelog++
2017-02-16 00:55:29 -05:00
Vishal Nayak
37297080f2
cidrutil: added test data points ( #2378 )
2017-02-16 00:51:02 -05:00
Jeff Mitchell
45590ee0af
Merge pull request #2379 from hashicorp/issue-2362
...
Compare headers case-insensitively for auditing
2017-02-16 00:46:25 -05:00
Jeff Mitchell
f7036559d1
Fix audit test and make audited headers more robust in map checks
2017-02-16 00:44:20 -05:00
Jeff Mitchell
5d016d712d
Compare headers case-insensitively for auditing
...
Fixes #2362
2017-02-15 20:35:35 -05:00
Phil Watts
14e815eede
Edit to the language of the description of disable_mlock on the configuration documentation page. Previous wording could lead to confusion as to the recommended setting of the disable_mlock option. ( #2377 )
2017-02-15 11:09:27 -05:00
vishalnayak
791d2a3013
changelog++
2017-02-15 10:59:15 -05:00
Vishal Nayak
c61dc69d19
aws-ec2 auth: Return the role period in seconds ( #2374 )
...
* aws-ec2 auth: Return the role period in seconds
* cast return values to int64 for comparison with expected values
2017-02-15 10:57:57 -05:00
Vishal Nayak
fbcb52aafa
aws-ec2 auth: fix docs ( #2375 )
2017-02-15 06:29:27 -05:00
Jeff Mitchell
a4ffdf6581
changelog++
2017-02-14 16:29:00 -05:00
Jeff Mitchell
ed51388c02
Fix Okta auth issue when a user has no policies and/or groups set. ( #2371 )
...
Fixes #2367
2017-02-14 16:28:16 -05:00
Jeff Mitchell
5f6c4a9696
changelog++
2017-02-10 19:57:53 -05:00
Tommy Murphy
57aac16cd2
audit: support a configurable prefix string to write before each message ( #2359 )
...
A static token at the beginning of a log line can help systems parse
logs better. For example, rsyslog and syslog-ng will recognize the
'@cee: ' prefix and will parse the rest of the line as a valid json message.
This is useful in environments where there is a mix of structured and
unstructured logs.
2017-02-10 16:56:28 -08:00
Jeff Mitchell
a18f77e69c
Update go-cleanhttp
2017-02-10 19:34:41 -05:00
P.Nikolajevs (pl)
1ecf8b1409
Update libraries.html.md ( #2360 )
2017-02-10 09:39:18 -08:00
Tommy Murphy
214cd65d55
docs: transit parameter is actually deletion_allowed ( #2356 )
2017-02-09 15:10:28 -05:00
Seth Vargo
abf98a107a
Merge pull request #2358 from hashicorp/sethvargo-patch-1
...
Change cache to 4h
2017-02-09 14:39:18 -05:00
Seth Vargo
44a352217a
Cache assets longer
2017-02-09 14:39:12 -05:00
Seth Vargo
53b373dd25
Change cache to 4h
2017-02-09 14:37:12 -05:00
vishalnayak
8b9f3a0b49
use net.JoinHostPort
2017-02-08 18:39:09 -05:00
Jeff Mitchell
c01d394a8d
Add support for backup/multiple LDAP URLs. ( #2350 )
2017-02-08 14:59:24 -08:00
vishalnayak
ee8b7e21c5
changelog++
2017-02-08 13:52:29 -05:00
Jeff Mitchell
b505b3b81c
Correct port parsing. ( #2354 )
...
* Correct port parsing.
Fixes #2351
* use strings.Contains instead of strings.HasSuffix
* Make the error message point to the wrong input
2017-02-08 13:50:17 -05:00
Jack Harris
6f4da5ff07
Add correct output to unmount documentation ( #2352 )
...
Simply adding the actual output of: 'vault unmount generic/'
2017-02-08 10:40:56 -05:00
Jeff Mitchell
25bcca2fad
Bump deps
2017-02-08 02:13:15 -05:00