Commit graph

7874 commits

Author SHA1 Message Date
Brian Kassouf
bd5ff1ff32 Rename up path to internal/ui/mounts/<path> (#4435) 2018-04-23 18:16:10 -04:00
Jeff Mitchell
9b11f0c7c5 changelog++ 2018-04-23 18:05:08 -04:00
Alex Samorukov
3dc675c879 Use locking to avoid parallel script execution (#4358) 2018-04-23 18:04:22 -04:00
Jeff Mitchell
89a25cebb8 changelog++ 2018-04-23 18:02:26 -04:00
Jeff Mitchell
53501b820e changelog++ 2018-04-23 18:01:08 -04:00
Brian Kassouf
a136c79147
Kv preflight (#4430)
* Update kv command to use a preflight check

* Make the existing ui endpoint return the allowed mounts

* Add kv subcommand tests

* Enable `-field` in `vault kv get/put` (#4426)

* Enable `-field` in `vault kv get/put`

Fixes #4424

* Unify nil value handling

* Use preflight helper

* Update vkv plugin

* Add all the mount info when authenticated

* Add fix the error message on put

* add metadata test

* No need to sort the capabilities

* Remove the kv client header

* kv patch command (#4432)

* Fix test

* Fix tests

* Use permission denied instead of entity disabled
2018-04-23 15:00:02 -07:00
Jeff Mitchell
b82bd7420e Use permission denied for entity disabling 2018-04-23 16:50:04 -04:00
Matthew Irish
b0fc932564
UI: Mount tune fix (#4431)
* serialize instead of toJSON when mount tuning

* add tests

* remove model unit test

* fix typo
2018-04-23 15:32:43 -05:00
Jeff Mitchell
ad95061022 changelog++ 2018-04-23 15:05:50 -04:00
vishalnayak
2e7e2ba204 changelog++ 2018-04-23 13:52:11 -04:00
Vishal Nayak
6c464cf473
disable identity for local mounts (#4407) 2018-04-23 13:46:14 -04:00
Jeff Mitchell
037d51a774 Use ResetNamed for sealunwrapper logger 2018-04-23 13:42:02 -04:00
Calvin Leung Huang
964645d45e Explicitly use 5.7 and below to test mysql backends (#4429) 2018-04-23 13:03:02 -04:00
Becca Petrin
8ab8c91cdf Use a sub-logger for the transactional cache (#4428) 2018-04-23 12:08:12 -04:00
Jeff Mitchell
87e54d12b2 Update audit text to make it clear that audit logs are for authenticated interactions 2018-04-23 10:49:32 -04:00
Calvin Leung Huang
43ca8d5641 changelog++ 2018-04-23 10:31:08 -04:00
Jeff Mitchell
30379631b4 changelog++ 2018-04-23 10:11:45 -04:00
Jeff Mitchell
6b12081fb4 Bump secrets-gcp for panic fix (#6) 2018-04-23 10:11:14 -04:00
Malhar Vora
78aa4876eb Corrects description for mode option in ssh command (#4420)
Fixes #4375
2018-04-22 13:42:46 -04:00
Malhar Vora
7b2858b7a3 Correct typo in Kubernetes auth backend docs
Resolve small typo in Configuring Kubernetes section in Kubernetes Auth Backend
documentation.

Fixes #4417
2018-04-21 19:37:59 -07:00
Jeff Mitchell
037b3c3603
Update seal wrap text in UI (#4416) 2018-04-21 11:09:39 -04:00
Jeff Mitchell
498a0575bd changelog++ 2018-04-21 10:51:47 -04:00
Jeff Mitchell
bc0918a350
Add the ability to restrict token usage by IP. Add to token roles. (#4412)
Fixes #815
2018-04-21 10:49:16 -04:00
Matthew Irish
7763007cf5
UI - Login fix (#4403)
* fix login

* add tests for login submission
2018-04-20 15:39:45 -05:00
Calvin Leung Huang
cc8ec49a54
Add ui build tag to generate assetfs file (#4413) 2018-04-20 15:47:45 -04:00
Chris Kent
cee348e75f Mrktfix (#4411)
* Updated hero with current logo

* Updated logos in these artifact images as well

* Added Branded Logo

with HashiCorp

* Updated logo with branded logo

(HashiCorp in the name)

* typo

* Wrong spot

* Updated logo
2018-04-20 14:43:11 -05:00
Jeff Mitchell
3580853af2
Resultant acl (#4386) 2018-04-20 14:19:04 -04:00
Chris Kent
01abce85ef Updated hero with current logo (#4410) 2018-04-20 12:50:00 -05:00
Alvin Huang
5d440fe618 remove redundant 'Vault' in approle docs (#4405) 2018-04-20 09:55:15 -04:00
Matthew Irish
9b1923ac5e
Ui kv v2 redux (#4393)
* remove header used for backwards compatibility in KV mounts, and use v1 paths for v1, v2 paths for v2

* make the model hook always run

* simplify adapter & serializer code for secrets

* update tests

* fix lease tests

* address review feedback
2018-04-19 21:26:25 -05:00
Matthew Irish
9dd993d645
changelog++ 2018-04-19 20:55:31 -05:00
Matthew Irish
1ad67cba78
use an array to lookup capabilities paths so that commas aren't an issue (#4398) 2018-04-19 20:51:41 -05:00
Matthew Irish
2cca85572c
update the readme to be more useful for UI development (#4399) 2018-04-19 16:08:41 -05:00
Calvin Leung Huang
3335f5e99c Adjustable test timeouts in Makefile (#4394) 2018-04-19 15:04:40 -04:00
Jeff Mitchell
4c772b4996
Defer setting views read/write until the end of postUnseal (#4392)
A few notes:

* We exert positive control over singletons and they usually need to
perform some (known, validated) writes, so this excludes singletons --
they are simply limited to the end of the mount function as before.

* I'm not sure how to test this _specifically_; I've done some testing
of e.g. sealing vault and unsealing and ensuring that I can write to a
KV mount. I think this is tested by every dev server though, since for a
dev server Vault is inited, the default mounts are mounted, then it's
sealed, then it's unsealed for the user, so it already goes through this
code path. The mere fact that you can write to secret/ on a dev server
means it was successfully set read-write.
2018-04-19 13:29:43 -04:00
Kevin Wang
a7c1d20770 Fix panic on kv put command with no arguments (#4389) 2018-04-18 15:45:49 -07:00
Jeff Mitchell
8070dfcfde changelog++ 2018-04-18 16:35:36 -04:00
Matthew Irish
3a5a069fcd
fix item popup for aws backend (#4371) 2018-04-18 15:34:35 -05:00
skiggety
4d0b47855a remove lingering mention of "vault write" command. (#4388) 2018-04-18 16:32:37 -04:00
Matthew Irish
67705433e5
changelog++ 2018-04-18 14:31:35 -05:00
vishalnayak
585048fa30 changelog++ 2018-04-18 13:11:40 -04:00
Vishal Nayak
e6cc20d1e7
phys/consul: Allow tuning of session ttl and lock wait time (#4352)
* phys/consul: allow tuning of session ttl and lock wait time

* use parseutil

* udpate docs
2018-04-18 13:09:55 -04:00
Joshua Ogle
1d42d53f66
Merge pull request #4379 from hashicorp/jo-ie11-fixes
UI: Add Autoprefixer + IE11 fixes
2018-04-17 19:37:10 -06:00
Joshua Ogle
981427cbff
Merge branch 'master' into jo-ie11-fixes 2018-04-17 18:44:59 -06:00
Becca Petrin
f23b14a8c2
Release database resources on each iteration of a loop (#4305) 2018-04-17 16:31:09 -07:00
Jeff Mitchell
7390abd7c9 changelog++ 2018-04-17 18:53:50 -04:00
Jeff Mitchell
80b17705a9
X-Forwarded-For (#4380) 2018-04-17 18:52:09 -04:00
Matthew Irish
f7e886f29d
Ui ie11 button form attr (#4378)
* move submit buttons in auth-form into a form tag because IE11 is sad

* add acceptance test for auth-method clearing

* update ember-cli-page-object

* actually remove the form attr on the auth-form component

* remove form attribute on init form

* remove form attribute from shamir-flow component

* stringify not strigify
2018-04-17 17:04:34 -05:00
Yoko
81af0f69d1
Versioned KV secret engine (kv-v2) tutorial (#4367)
* Added versioned kv secret engine tutorial

* Added check-and-set feature

* Fixed archived -> deleted

* Incorporated all suggested changes
2018-04-17 14:42:14 -07:00
Joshua Ogle
3c3dbd9e6f
Merge branch 'master' into jo-ie11-fixes 2018-04-17 14:07:05 -06:00