9692 Commits

Author SHA1 Message Date
Jeff Mitchell
558fbc8082 changelog++ 2018-07-12 18:46:48 -04:00
Jeff Mitchell
e91c07c1be changelog++ 2018-07-12 18:40:21 -04:00
Jeff Mitchell
2b70c9ec44
Turn off retries on CLI (#4918)
For the CLI it just ends up confusing people as to why it's "hanging"
before returning a 500. This can still be overridden with
VAULT_MAX_RETRIES.
2018-07-12 18:38:18 -04:00
Jeff Mitchell
5d706e165d Fix printable check key not being valid 2018-07-12 16:59:07 -04:00
Jeff Mitchell
fc59d1e4e3
Add config flag to disable non-printable character check (#4917) 2018-07-12 16:29:36 -04:00
Calvin Leung Huang
4c55d2843a
Add description flag to secrets and auth tune subcommands (#4894)
* Add description flag to secrets and auth tune subcommands

* Allow empty description to be provided in secret and auth mount tune

* Use flagNameDescription
2018-07-12 11:15:50 -04:00
Jeff Mitchell
5269abb64c Fix tests 2018-07-12 10:18:50 -04:00
Jeff Mitchell
0eebc77263 Fix test 2018-07-12 08:29:04 -04:00
Jeff Mitchell
dba48d5265
Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
Jeff Mitchell
96800455df
Use Go's in-built permitted DNS domain logic (#4908)
Fixes #4863
2018-07-11 17:35:46 -04:00
Jeff Mitchell
57b77dc702 Minor dep sync 2018-07-11 16:04:02 -04:00
Seth Vargo
c4d57245f2 Update GCP docs (#4898)
* Consistently use "Google Cloud" where appropriate

* Update GCP docs

This updates the GCP docs to use the new updated fields that will be
present in the next release of the plugin as well as fixes up some
inconsistencies between the GCP docs and other auth method
documentation.
2018-07-11 15:52:22 -04:00
Jeff Mitchell
6c84abbf69 changelog++ 2018-07-11 15:51:20 -04:00
Jeff Mitchell
229dee1be0
Add in logic for handling a field of 'data' to kv get (#4895)
We do this for normal commands in PrintRawField but it needs some help
for KV v2.
2018-07-11 15:50:26 -04:00
Jeff Mitchell
a1321d1d9c changelog++ 2018-07-11 15:50:05 -04:00
Jeff Mitchell
a831fb4c5a Make single-lease revocation behave like expiration (#4883)
This change makes it so that if a lease is revoked through user action,
we set the expiration time to now and update pending, just as we do with
tokens. This allows the normal retry logic to apply in these cases as
well, instead of just erroring out immediately. The idea being that once
you tell Vault to revoke something it should keep doing its darndest to
actually make that happen.
2018-07-11 15:45:35 -04:00
Jeff Mitchell
eed9ef9391 changelog++ 2018-07-11 15:18:24 -04:00
Jeff Mitchell
4433ec008a
Allow lease_duration to be pulled out with -field (#4906)
* Allow lease_duration to be pulled out with -field

This also provides an easy way to verify that when -field is used we
don't string format the value.

This also changes the human string helper to accept more than one type
of incoming int.

* Address review feedback
2018-07-11 15:09:04 -04:00
Jeff Mitchell
6b4f6b9361
Add jwt auth docs (#4891) 2018-07-11 15:08:49 -04:00
Jeff Mitchell
4d6a297534 changelog++ 2018-07-11 12:47:02 -04:00
Jeff Mitchell
70273b930b
Add control group request endpoint to default policy (#4904) 2018-07-11 12:46:30 -04:00
Jeff Mitchell
8a1a0340cf changelog++ 2018-07-11 12:45:33 -04:00
Jeff Mitchell
0883dc3e0b
Fix permitted dns domain handling (#4905)
It should not require a period to indicate subdomains being allowed

Fixes #4863
2018-07-11 12:44:49 -04:00
Seth Vargo
dffd687fd8 Special case handle TTLs from JSON responses (#4893) 2018-07-11 12:07:48 -04:00
Md. Nure Alam Nahid
cf587cf525 Add additional config keys for swift (#4901)
* Add additional config keys for swift

* Add additional swift config keys in the doc page
2018-07-11 08:29:29 -07:00
Jeff Mitchell
ff8becca15 Make proto
It appears the only thing that actually change is that the tag got
`proto3` values added.
2018-07-10 20:49:48 -04:00
Joshua Ogle
65a695608e
Merge pull request #4888 from hashicorp/ui-list-items
UI: List item rows
2018-07-10 15:50:10 -06:00
Joshua Ogle
34672c7775 Fix mobile display of info table row 2018-07-10 15:48:36 -06:00
Joshua Ogle
e3178685e5 Fix info-table-row in alias metadata 2018-07-10 14:09:54 -06:00
Joshua Ogle
5615ce00f6 Move back to linked-block 2018-07-10 14:04:50 -06:00
Joshua Ogle
5cf07188e4
Merge branch 'master' into ui-list-items 2018-07-10 09:27:29 -06:00
Joshua Ogle
95d1d9ce4c Adjust primary button colors 2018-07-10 09:24:08 -06:00
Jeff Mitchell
b33cf19dd9 Sync jwt auth plugin 2018-07-10 11:14:36 -04:00
Seth Vargo
1268342acc Properly capitalize H in GitHub (#4889)
It's really bothering me, sorry.
2018-07-10 08:11:03 -07:00
Jeff Mitchell
ce81df0ba2 Remove vault.rocks from some that were missed 2018-07-10 10:47:30 -04:00
Joshua Ogle
62adf73bcf Simpler list item rows
- Makes list items flush with sides, expands into gutter on hover
- Makes unclickable row items more distinguishable
2018-07-10 08:18:25 -06:00
Seth Vargo
20faa2164c Properly parse envvars for bools (#4882)
Fixes GH-4875
2018-07-09 13:43:46 -07:00
Jeff Mitchell
bd650812bc Add JWT plugin 2018-07-09 16:21:47 -04:00
Seth Vargo
8ac73469a3 Handle multierr when altering response codes (#4881) 2018-07-09 13:08:44 -07:00
Joshua Ogle
8bc5e5ec70
Merge pull request #4880 from hashicorp/ui-input-styles
UI: Form input styles
2018-07-09 13:22:34 -06:00
Joshua Ogle
f834437e0a
Merge branch 'master' into ui-input-styles 2018-07-09 13:22:23 -06:00
Joshua Ogle
dfb1a543c9 Add new styles for file upload 2018-07-09 12:20:09 -06:00
Seth Vargo
2e7f82d5c8 Ensure there's a newline between each warning (#4878)
It's really hard to see where one stops and another starts given
multiple warnings.
2018-07-09 10:57:53 -07:00
Jeff Mitchell
fb13619ad6 Bump hclog 2018-07-09 12:54:13 -04:00
Jeff Mitchell
2240c71cc0 Bump deps 2018-07-09 12:41:21 -04:00
Jeff Mitchell
1f8dfc9410 changelog++ 2018-07-06 17:02:05 -04:00
Jeff Mitchell
67bf9fc3a1
503 if node is not active (#4874)
If we get to respondStandby but we're actually not in an HA cluster, we
should instead indicate the correct status to the user. Although it
might be better to change any such behavior upstream, if any upstream
code manages this state we should still handle it correctly.

Fixes #4873
2018-07-06 17:01:19 -04:00
Jeff Mitchell
ac87f942e8 Fix race in exp tidy test 2018-07-06 17:01:02 -04:00
Jeff Mitchell
adda330f43 changelog++ 2018-07-06 15:46:10 -04:00
Jeff Mitchell
5a2d80e487
Allow max request size to be user-specified (#4824)
* Allow max request size to be user-specified

This turned out to be way more impactful than I'd expected because I
felt like the right granularity was per-listener, since an org may want
to treat external clients differently from internal clients. It's pretty
straightforward though.

This also introduces actually using request contexts for values, which
so far we have not done (using our own logical.Request struct instead),
but this allows non-logical methods to still get this benefit.

* Switch to ioutil.ReadAll()
2018-07-06 15:44:56 -04:00