Jeff Mitchell
a58d313d2b
Batch tokens ( #755 )
2018-10-15 12:56:24 -04:00
Jeff Mitchell
d7655a9db0
Buffer authhandler output channel to prevent hang on shutdown ( #5507 )
...
Fixes #5026
2018-10-15 11:02:53 -04:00
Jim Kalafut
46ccb88184
Don't copy HA lock file during migration ( #5503 )
2018-10-12 09:29:15 -07:00
Jeff Mitchell
a00233648f
Warn when users don't configure api_addr ( #5496 )
...
Fixes some sources of user strife
2018-10-10 14:52:00 -04:00
Calvin Leung Huang
0b2350bc15
Logger cleanup ( #5480 )
2018-10-09 09:43:17 -07:00
Jim Kalafut
c4dc44a920
Fix 'vault auth' panic ( #5473 )
...
Running 'vault auth' with no parameters was panicking:
panic: assignment to entry in nil map
github.com/hashicorp/vault/command/login.go:255 +0xdee
Now it will show help.
2018-10-05 16:05:26 -07:00
JohnVonNeumann
c628d8b37c
Update operator_init.go ( #5441 )
...
Minor grammar fix.
2018-10-01 17:19:13 -07:00
Jim Kalafut
3d1f6e6f7c
Retry failing migration check instead of exiting ( #5427 )
2018-10-01 14:35:35 -07:00
Jeff Mitchell
382f28ee24
Send initialized information via sys/seal-status ( #5424 )
2018-09-27 14:03:37 -07:00
Jim Kalafut
370477f761
Fix server command test ( #5407 )
...
The addition of CheckMigration to the server startup process means
that physical backends in this test need to be able to respond to Get() without error.
2018-09-26 14:52:11 -07:00
Jim Kalafut
4753f4a440
Fix wording in log message ( #5399 )
2018-09-25 16:52:03 -07:00
Jim Kalafut
3ea652b0b4
Add physical backend migrator command ( #5143 )
2018-09-25 16:18:22 -07:00
Seth Vargo
03e24be542
Also format TTLs in non-secret responses ( #5367 )
2018-09-21 09:54:18 -04:00
Becca Petrin
d76e67afc7
add alicloud secrets engine ( #5352 )
2018-09-19 08:42:28 -07:00
Jeff Mitchell
e8b7ec2e11
Fix default_max_request_duration HCL name and update docs ( #5321 )
...
* Fix default_max_request_duration HCL name and update docs
* Update tcp.html.md
2018-09-18 14:30:21 -07:00
Jeff Mitchell
b7d6d55ac1
The big one ( #5346 )
2018-09-17 23:03:00 -04:00
Jim Kalafut
d1465bdbf5
Improve CLI error message ( #5327 )
2018-09-13 08:23:36 -07:00
Becca Petrin
25cb22fe0a
Poll for new creds in the AWS auth agent ( #5300 )
2018-09-12 13:30:57 -07:00
Becca Petrin
e1687ed78d
update to match aws ( #5315 )
2018-09-11 11:10:50 -07:00
Jeff Mitchell
d47e54ac72
Fix authhandler-based wrapping in agent ( #5316 )
2018-09-11 13:10:11 -04:00
Jeff Mitchell
d3edc47096
Allow most parts of Vault's logging to have its level changed on-the-fly ( #5280 )
...
* Allow most parts of Vault's logging to have its level changed on-the-fly
* Use a const for not set
2018-09-05 15:52:54 -04:00
Becca Petrin
d69c674c8e
Add AliCloud auth to the Vault Agent ( #5179 )
2018-09-05 11:56:30 -04:00
Jim Kalafut
5d86afe9a5
Fix server test that fails build under 1.11 ( #5264 )
...
command/server_test.go:147:2: finished declared but not used
vet: typecheck failures
2018-09-04 11:35:28 -06:00
Brian Kassouf
d3017e259f
Add performance standby status to status output ( #5192 )
...
* Add performance standby status to status output
* Update ha.go
2018-08-27 10:01:07 -07:00
Jeff Mitchell
5406f1952a
Sync some changes over
2018-08-27 12:03:43 -04:00
Jeff Mitchell
f1f6fb002d
Sync over
2018-08-27 12:02:57 -04:00
Jeff Mitchell
9e3670a614
Change deprecation warnings from 0.11 or later to 0.12. ( #5176 )
...
Also remove a deprecated parameter that we warned would be removed since
0.8.
2018-08-24 12:16:37 -04:00
Jeff Mitchell
935815d3da
Sync over some stuff
2018-08-24 12:09:03 -04:00
Becca Petrin
473bb4173a
Auth handler shutdown logic ( #5170 )
2018-08-24 09:17:14 -04:00
Jeff Mitchell
4d879d20fe
Don't resetnamed
2018-08-23 15:04:18 -04:00
Calvin Leung Huang
ac10e2078e
command/namespace: Move trailing slash check to the end ( #5163 )
2018-08-22 15:49:24 -07:00
Jeff Mitchell
dc9d3f3012
Sync some ns stuff to api/command
2018-08-22 14:37:40 -04:00
Jeff Mitchell
1820110443
Pass in an ErrorLog to http.Server ( #5135 )
...
Fixes #5108
2018-08-21 11:23:18 -04:00
Jim Kalafut
1b8b425e82
Initial import of Azure Secrets ( #5120 )
...
* Initial import of Azure Secrets
* Update vendor folder
2018-08-16 12:18:06 -07:00
Becca Petrin
d3f8eabb9b
Add alicloud auth ( #5123 )
...
* add alicloud auth commands
* add dependencies
2018-08-16 12:17:49 -07:00
Jeff Mitchell
9cf497f688
Remove injection into top routes ( #5101 )
2018-08-14 15:29:22 -04:00
Jeff Mitchell
e6a6b65ba9
Fix read test
2018-08-14 14:20:49 -04:00
Jeff Mitchell
f562a71808
Add support for passing args via vault read
( #5093 )
...
We support this in the API as of 0.10.2 so read should support it too.
Trivially tested with some log info:
`core: data: data="map[string]interface {}{"zip":[]string{"zap", "zap2"}}"`
2018-08-13 22:00:26 -04:00
Nándor István Krácser
23d89841d7
Alibaba Object Storage support ( #4783 )
2018-08-13 17:03:24 -04:00
Jeff Mitchell
bbc7b7cc8d
Port over some ns stuff
2018-08-10 12:17:17 -04:00
Jeff Mitchell
ef6744f9af
Port some ns stuff over
2018-08-10 12:13:11 -04:00
Jeff Mitchell
c1a3e599ca
Add exit-after-auth functionality to agent ( #5013 )
...
This allows it to authenticate once, then exit once all sinks have
reported success. Useful for things like an init container vs. a
sidecard container.
Also adds command-level testing of it.
2018-07-30 10:37:04 -04:00
Paul Nicholson
4fbb3faf9c
agent: kubernetes: add missing slash in token path ( #5010 )
2018-07-29 15:50:18 -04:00
Jeff Mitchell
903ab7c485
VSI ( #4985 )
2018-07-24 22:02:27 -04:00
Jeff Mitchell
b9adaf9c69
Add request timeouts in normal request path and to expirations ( #4971 )
...
* Add request timeouts in normal request path and to expirations
* Add ability to adjust default max request duration
* Some test fixes
* Ensure tests have defaults set for max request duration
* Add context cancel checking to inmem/file
* Fix tests
* Fix tests
* Set default max request duration to basically infinity for this release for BC
* Address feedback
2018-07-24 14:50:49 -07:00
Jeff Mitchell
8d2d9fd8bd
Tackle #4929 a different way ( #4932 )
...
* Tackle #4929 a different way
This turns c.sealed into an atomic, which allows us to call sealInternal
without a lock. By doing so we can better control lock grabbing when a
condition causing the standby loop to get out of active happens. This
encapsulates that logic into two distinct pieces (although they could
be combined into one), and makes lock guarding more understandable.
* Re-add context canceling to the non-HA version of sealInternal
* Return explicitly after stopCh triggered
2018-07-24 13:57:25 -07:00
Michael Russell
76e535e5ea
Make the SSH executable path configurable ( #4937 )
...
Making this configurable is useful for windows users which may not be
using the default `ssh` executable. It also means that users can point to a
specify SSH executable if multiple are available.
2018-07-17 17:47:07 -07:00
Julien Blache
e59d19325c
FoundationDB physical backend ( #4900 )
2018-07-16 10:18:09 -04:00
Michael Russell
e32ba81b52
Allow vault ssh to work with single ssh args like -v ( #4825 )
2018-07-16 10:11:56 -04:00
zhogov
9c258c7921
Fixed parsing of environment variables ( #4925 )
2018-07-13 10:45:35 -07:00