Commit graph

11026 commits

Author SHA1 Message Date
Jim Kalafut
fe44ee073b
Add 1.2+ role parameters back to JWT API docs (#7544)
This reverts 24c2f8c2ad, which pulled the parameters while there were
outstanding bugs when using them with JWT auth.
2019-10-01 16:07:52 -07:00
Matthew Irish
e4e69164e4
UI wrapped token fix (#7398)
* default to token auth method

* pass in selectedValue to the AuthForm

* adjust when and if tasks are called so there's no race condition with wrapped_token query param

* add some tests for wrapped_token

* adjust redirect_to behavior so that it also works with the logout route and the wrapped_token query param

* fix linting
2019-10-01 15:30:56 -05:00
Matthew Irish
0e54f829ee
UI CI exit 1 if there's an error (#7399)
* exit 1 if there's an error

* fix failing confirm tests

* still need to exit the process 😂
2019-10-01 14:57:37 -05:00
Jim Kalafut
a1aa591281
Update vendor dir (#7539) 2019-10-01 08:03:32 -07:00
Vishal Nayak
36152ec281 changelog++ 2019-09-30 17:52:10 -04:00
Jim Kalafut
6975e5d888
changelog++ 2019-09-30 13:55:05 -07:00
Jim Kalafut
b68573fa74
Log proxy settings from environment on startup (#7528) 2019-09-30 08:46:42 -07:00
Vishal Nayak
cdeb3f0eb9 changelog++ 2019-09-30 10:51:07 -04:00
Vishal Nayak
58b1b237fd
Fix identity case sensitivity loading in secondary cluster (#7327)
* Fix identity case sensitivity loading in secondary cluster

* Add nil check
2019-09-30 10:27:25 -04:00
Jim Kalafut
2b8aeb10cc
Update Go version in readme
Fixes #7525
2019-09-27 08:30:02 -07:00
Jeff Mitchell
9b05bfd882
Update CHANGELOG.md 2019-09-26 17:18:03 -04:00
Connor Zapfel
4c20292fd4 Added sys/health path-help content (#7360) 2019-09-26 13:16:21 -07:00
Andy Manoske
9d41daf4d9
Update index.html.md (#7506)
Feedback from customers re: audit information to explicitly expose where credential password creation takes place in the source code.
2019-09-26 09:53:07 -07:00
Jim Kalafut
44e20fe0ab
changelog++ 2019-09-26 08:24:10 -07:00
Mike Jarmy
d14fa56c22
Add a unit test for plugin initialization (#7158)
* stub out backend lazy load test

* stub out backend lazy-load test

* test startBackend

* test lazyLoadBackend

* clean up comments in test suite
2019-09-26 10:01:45 -04:00
Ivan Kurnosov
0c86d909b4 Fixed github-prod path (#7516) 2019-09-26 08:46:41 -04:00
Marc-Aurèle Brothier
98fc6a501a docs: add -verify documentation on operator rekey command (#7190) 2019-09-25 13:57:57 -07:00
Noel Quiles
6d5fbab775 Update hashi-docs-sitemap to v0.1.6 (#7413) 2019-09-25 13:38:19 -07:00
Yoko
1476050442 Fixed the hyperlink typo to blog (#7354) 2019-09-25 13:34:58 -07:00
Brian Shumate
22e8af8682 Update sample request (#7431)
- Format curl command to be similar to other sample requests
- Add single quotes to URL for '?' so that example is functional
- Delete trailing space
2019-09-25 13:32:42 -07:00
minitux
8c2a123d18 Fix api auth approle documentation (#7382)
Change policies to token_policies
2019-09-25 13:27:27 -07:00
Jim Kalafut
5a3aa0ebcd
changelog++ 2019-09-25 11:10:37 -07:00
Jim Kalafut
6a14065f73
Ignore any existing token during CLI login (#7508)
Fixes #6694
2019-09-25 10:59:42 -07:00
Vu Pham
ba834f8a0f Use snake case for HA example (#7505) 2019-09-23 16:02:08 -07:00
Joel Thompson
961f446838 secret/aws: Support permissions boundaries on iam_user creds (#6786)
* secrets/aws: Support permissions boundaries on iam_user creds

This allows configuring Vault to attach a permissions boundary policy to
IAM users that it creates, configured on a per-Vault-role basis.

* Fix indentation of policy in docs

Use spaces instead of tabs
2019-09-19 16:35:12 -07:00
Calvin Leung Huang
ad9e5ebee2
sys: add pprof endpoint (#7473)
* sys/pprof: add pprof routes to the system backend

* sys/pprof: add pprof paths to handler with local-only check

* fix trailing slash on pprof index endpoint

* use new no-forward handler on pprof

* go mod tidy

* add pprof external tests

* disallow streaming requests to exceed DefaultMaxRequestDuration

* add max request duration test
2019-09-19 13:44:37 -07:00
Dilan Bellinghoven
13c56f5f92 chore: Do not need logger for command/agent/config.LoadConfig (#7496) 2019-09-19 13:03:30 -07:00
Jeff Mitchell
1aa86aa3fb Bump api/sdk and vendoring 2019-09-19 09:43:23 -04:00
Jeff Mitchell
4eefe0ebe1 Bump API's SDK 2019-09-19 09:42:45 -04:00
Yahya
645ac174de [Docs] Fix typo in database sample request (#7492) 2019-09-19 10:14:34 +02:00
Jim Kalafut
d6135f743f Fix Agent handling of gzipped responses (#7470)
* Fix Agent handling of gzipped responses

Fixes #6606

* Only remove "gzip" member, if present

* Simplify to just removing Accept-Encoding altogether
2019-09-18 14:24:41 -07:00
Graham Land
a65f4fed92 Early indication of storage backend requirements (#7472)
A Vault Enterprise Pro customer in Japan has tried to get Vault DR replication working using Google Cloud Storage.
They were frustrated to learn that GCS may not have support for transactional updates which has resulted in a lot of wasted time.
The complaint was that this was not clear from our documentation.
This note may help customers to understand sooner that not all highly available backends support transactional updates.
2019-09-18 14:19:32 -07:00
Lars Lehtonen
c4f53775af Fix token_store_test.go (#7490)
* vault: fix dropped error in test goroutine

* vault: fix dropped test errors
2019-09-18 14:18:08 -07:00
Matthew Irish
acbff2d5ee
Update CHANGELOG.md 2019-09-18 14:09:10 -05:00
Matthew Irish
545a4b1242
expose 'storage_type' on the sys/seal-status endpoint (#7486)
* expose 'storage_type' on the sys/seal-status endpoint

* add comments

* Update vault/core.go

Co-Authored-By: Brian Kassouf <briankassouf@users.noreply.github.com>
2019-09-18 14:07:18 -05:00
Michael Gaffney
c69481ebe2
Fix the transit trim key api doc (#7453) 2019-09-18 09:29:58 -04:00
Jeff Mitchell
c9613203f5 Update api/sdk. Let kr/pty stay for now so it stops going in on every build 2019-09-18 09:12:57 -04:00
Jeff Mitchell
e430c83641 Bump API's sdk 2019-09-18 09:10:23 -04:00
Jeff Mitchell
9de946780b Tidy sdk 2019-09-18 09:09:44 -04:00
Pavlos Ratis
d86b335228 add more gcp examples (#6358) 2019-09-17 13:39:00 -07:00
Jeff Mitchell
d61d5b1166 Bump sdk and vendoring 2019-09-17 11:38:03 -04:00
Jeff Mitchell
ea21a2a1bf Update version for 1.3 dev target on master 2019-09-17 11:36:55 -04:00
Justin Weissig
26d11b17d2 docs: fixed sample json payload parse error (#7484)
Fixed malformed json example (removed extra comma). Here's the payload parse error I was running into with the example.

```
{
  "rotation_period":"12h",
  "verification_ttl":43200,
}
```

Vault does not like this JSON.

```
curl -s \
    --header "X-Vault-Token: ..." \
    --request POST \
    --data @payload-2.json \
    http://127.0.0.1:8200/v1/identity/oidc/key/named-key-001 | jq
{
  "errors": [
    "failed to parse JSON input: invalid character '}' looking for beginning of object key string"
  ]
}
```
2019-09-17 11:42:01 +02:00
Calvin Leung Huang
16bc4a4fa6
testing: set MetricsHelper if it not provided through base config (#7480) 2019-09-16 17:50:51 -07:00
Calvin Leung Huang
3c53db300b
http: add handleLogicalNoForward handler for local-only requests (#7482)
* http: add handleLogicalNoForward handler for local-only requests

* fix missing no-forward case; add docstring

* add docstring for handleLogicalInternal

* fix docstring reference

* fix comment on not-ok case
2019-09-16 17:50:28 -07:00
Jim Kalafut
5a1ad20458
Add OCI links to detailed index (#7483) 2019-09-16 16:05:47 -07:00
Becca Petrin
66e076d9b0
document role aws auth role name casing (#7356) 2019-09-16 11:55:03 -07:00
Jim Kalafut
bcdcc77c39
Add Technology Preview disclaimer to Raft docs (#7478) 2019-09-16 08:44:04 -07:00
David Rubin
26b2035de4 Remove vaulted as supported nodejs client (#7404)
Vaulted is no longer maintained according to the readme. 

https://github.com/chiefy/vaulted#vaulted 

"No Longer Being Maintained Use node-vault for future support of Vault features!"
2019-09-13 16:33:15 -07:00
Joel Thompson
058343a248 logical/aws: Clean up test user (#7459)
I probably left this cleanup commented out as part of debugging test
errors in #6789 and forgot to uncomment it, so actually cleaning up the
test user.
2019-09-13 11:05:43 -07:00