Commit Graph

8434 Commits

Author SHA1 Message Date
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
Chris Hoffman
c8ab530f8a Bump Deps (#4868)
* bump deps

* revert script changes

* adding govendor miss
2018-07-06 12:09:34 -04:00
Jeff Mitchell
f577896010 Port pubkey parsing from kube-auth to helper/certutil 2018-07-06 10:25:32 -04:00
Jeff Mitchell
7532e82ebe Update generate-root output (#4807)
In current Vault server EncodedToken will always be populated regardless
of type (root, DR), so prioritize that, and properly refer to it as
Encoded Token instead of Root Token.

Additionally refer to the nonce as the Operation nonce instead of the
Root generation operation nonce since it's used for both strategies.
2018-07-06 09:02:47 -04:00
Kawsar Kamal
9591e44bef Fixed example file extensions from .hcl to .json (#4810) 2018-07-06 08:59:09 -04:00
Chris Bednarski
bebf54c6aa Added documentation to consul and listener pages explaining how to control Consul's DNS resolution with multiple listeners (#4862) 2018-07-06 08:51:51 -04:00
Joshua Ogle
b7655d7880 Add better Structure colors 2018-07-05 18:14:22 -06:00
Calvin Leung Huang
bc88718d56 Add missing replication props, prettify tables (#4816)
* Add missing request.replication props, prettify tables

* Fix location of replication prop
2018-07-05 16:11:21 -04:00
Matthew Irish
87d70fbe5b UI - unauthed login methods (#4854)
* fetch auth methods when going to the auth route and pass them to the auth form component

* add boolean editType for form-fields

* look in the data hash in the serializer

* remove renderInPlace for info-tooltips as it does something goofy with widths

* add new fields for auth methods

* fix console refresh command on routes that use lazyPaginatedQuery

* add wrapped_token param that logs you in via the token backend and show other backends if your list contains supported ones

* handle casing when looking up supported backends

* change listingVisibility to match the new API

* move wrapped_token up to the vault route level so it works from the app root
2018-07-05 13:28:12 -05:00