11320 Commits

Author SHA1 Message Date
Brian Shumate
0519ec3f30 Typo (#7880) 2019-11-14 08:53:42 -08:00
Brian Kassouf
be474f3f99
changelog++ 2019-11-14 08:27:12 -08:00
James Bayer
8621c747f4 added email (#7878) 2019-11-13 16:15:07 -08:00
Jason O'Donnell
293fc29583
Update vault-helm to 0.2.1 (#7873) 2019-11-13 16:00:50 -05:00
Jim Kalafut
d0e7ed95bc
changelog++ 2019-11-13 11:36:55 -08:00
Sam Salisbury
0e6c4a428b bump Docker builder image to go1.12.12 2019-11-13 10:19:55 +00:00
Colton J. McCurdy
48da554763 docs/website: fix broken chef-puppet with vault blog link (#7850)
Signed-off-by: Colton McCurdy <mccurdyc22@gmail.com>
2019-11-13 08:59:29 +01:00
Colton J. McCurdy
80bc8d060a [docs/website/dynamic-secrets] - fix typo in multi-line cli command for configuring postgres as a secrets engine (#7842)
* docs/website/secret-mgmt: fix minor typo in cli command for configuring postgres secrets engine

Signed-off-by: Colton McCurdy <mccurdyc22@gmail.com>

* docs/website/secret-mgmt: fix minor typo in cli command for configuring postgres secrets engine

Signed-off-by: Colton McCurdy <mccurdyc22@gmail.com>
2019-11-13 08:43:00 +01:00
Jim Kalafut
d00cb48023
changelog++ 2019-11-12 12:03:19 -08:00
Jim Kalafut
279596ac80 Update GCP secrets plugin (#7869) 2019-11-12 11:59:26 -08:00
Brian Kassouf
eac55bae11
Reindex docs (#7868)
* update reindex docs

* update reindex docs
2019-11-12 11:54:04 -08:00
Mike Jarmy
45eb796185
Improve telemetry docs (#7762)
* improve telemetry docs

* improve telemetry docs

* improve telemtry docs

* improve telemetry docs

* improve telemetry docs

* improve telemetry docs

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* Edited the note a little bit
2019-11-12 14:47:07 -05:00
Clint
ec62abb951 Update how Vault Agent configures Consul Templates internal logger (#7822)
* fix up logger in Vault Agent Template

* update deps
2019-11-12 11:29:29 -08:00
Brian Kassouf
977c65f730 Fix token counters test (#7867) 2019-11-12 13:33:28 -05:00
Michel Vocks
dc1c9c7db1 Fix indefinitely hanging agent test (#7866) 2019-11-12 09:19:11 -08:00
Michel Vocks
8f1e9dff5d Backport OSS changes from enterprise (#7864) 2019-11-12 09:17:37 -08:00
Sam Salisbury
af22af4aa2 ci: increase no-output timeout 2019-11-12 14:03:42 +00:00
Brian Kassouf
660ef96bb9 Fix build for openbsd 2019-11-11 20:10:21 -08:00
Brian Kassouf
b6b93d1c60 Update SDK 2019-11-11 19:41:52 -08:00
Brian Kassouf
390e96e22e bump variables to 1.3 2019-11-11 19:33:14 -08:00
Brian Kassouf
06b506f886 Update plugins 2019-11-11 19:28:09 -08:00
Calvin Leung Huang
f4ea6d6653 debug: fix test typo (#7862) 2019-11-11 16:30:49 -08:00
Brian Kassouf
95cef7e420
Update recovery_test.go 2019-11-11 16:29:04 -08:00
Calvin Leung Huang
fcf30cc328 debug: ignore invalid target flags (#7860) 2019-11-11 15:32:11 -08:00
Clint
0e7604ca50
Vault Agent Template follow-ups (#7739)
* Vault Agent Template: parse templates  (#7540)

* add template config parsing, but it's wrong b/c it's not using mapstructure

* parsing consul templates in agent config

* add additional test to configuration parsing, to cover basics

* another test fixture, rework simple test into table

* refactor into table test

* rename test

* remove flattenKeys and add other test fixture

* Update command/agent/config/config.go

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* return the decode error instead of swallowing it

* Update command/agent/config/config_test.go

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* go mod tidy

* change error checking style

* Add agent template doc

* TemplateServer: render secrets with Consul Template (#7621)

* add template config parsing, but it's wrong b/c it's not using mapstructure

* parsing consul templates in agent config

* add additional test to configuration parsing, to cover basics

* another test fixture, rework simple test into table

* refactor into table test

* rename test

* remove flattenKeys and add other test fixture

* add template package

* WIP: add runner

* fix panic, actually copy templates, etc

* rework how the config.Vault is created and enable reading from the environment

* this was supposed to be a part of the prior commit

* move/add methods to testhelpers for converting some values to pointers

* use new methods in testhelpers

* add an unblock channel to block agent until a template has been rendered

* add note

* unblock if there are no templates

* cleanups

* go mod tidy

* remove dead code

* simple test to starT

* add simple, empty templates test

* Update package doc, error logs, and add missing close() on channel

* update code comment to be clear what I'm referring to

* have template.NewServer return a (<- chan) type, even though it's a normal chan, as a better practice to enforce reading only

* Update command/agent.go

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* update with test

* Add README and doc.go to the command/agent directory (#7503)

* Add README and doc.go to the command/agent directory

* Add link to website

* address feedback for agent.go

* updated with feedback from Calvin

* Rework template.Server to export the unblock channel, and remove it from the NewServer function

* apply feedback from Nick

* fix/restructure rendering test

* Add pointerutil package for converting types to their pointers

* Remove pointer helper methods; use sdk/helper/pointerutil instead

* update newRunnerConfig to use pointerutil and empty strings

* only wait for unblock if template server is initialized

* update test structure

* some test cleanup

* follow up tests

* remove debugging, fix issue in replacing runner config

* need to handle first render/token

* Simplify the blocking logic to support exit after auth

* fix channel name

* expand TestAgent_Template to include multiple scenarios

* cleanup

* test cleanups after feedback
2019-11-11 17:27:23 -06:00
Michel Vocks
edf4e75f0d Docs: Add filtered paths api docs (#7786) 2019-11-11 15:25:48 -08:00
Calvin Leung Huang
c4c15e2cf2
docs: add vault debug docs (#7669)
* docs: add vault debug docs

* add note about local-only targets

* add note on OpenBSD and host info

* address feedback
2019-11-11 14:42:10 -08:00
Calvin Leung Huang
e9c2e32cc2
docs: add sys/config/state docs (#7654) 2019-11-11 14:36:09 -08:00
Jim Kalafut
dda8e07a53
Fix agent docs typo (#7861) 2019-11-11 13:27:40 -08:00
Calvin Leung Huang
50053118a2
docs: add API docs for sys/leases/tidy (#7781) 2019-11-11 12:35:59 -08:00
Yoko
7dbcd98da6
Adding more description (#7841) 2019-11-11 10:01:31 -08:00
Calvin Leung Huang
c439a15f80
server: automatically enable dev mode if dev-consul is provided (#7847) 2019-11-11 09:51:49 -08:00
Brian Kassouf
033c29a26c
Fix issue deleting DB connections on Secondaries (#7853) 2019-11-11 09:04:24 -08:00
Jason O'Donnell
42ec7fbd4e
doc: update vault-helm for 0.2.0 (#7759)
* doc: update vault-helm for 0.2.0

* Update website/source/docs/platform/k8s/helm.html.md

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* Update website/source/docs/platform/k8s/helm.html.md

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* Update website/source/docs/platform/k8s/helm.html.md

Co-Authored-By: Jim Kalafut <jkalafut@hashicorp.com>

* Remove commas from example
2019-11-11 11:07:35 -05:00
Matthew Irish
a64e7c71ed
loosen match checking on replication show page (#7776) 2019-11-11 09:47:35 -06:00
Calvin Leung Huang
f7d0775542
changelog++ 2019-11-08 13:23:59 -08:00
Clint
bac21894c4
Update Filtered Path Replication entry
Update CHANGELOG to note that Filtered Path Replication is enterprise only
2019-11-08 15:17:51 -06:00
Calvin Leung Huang
eb748295b4
core: revoke the proper token on partial failures from token-related requests (#7835)
* core: revoke the proper token on partial failures from token-related requests

* move test to vault package, move test trigger to expiration manager

* update logging messages for clarity

* docstring fix
2019-11-08 13:14:03 -08:00
Sebastian Gumprich
c4e73cffa3 update oidc azure docs to make it readable (#7832) 2019-11-08 11:56:02 -08:00
Vishal Nayak
2bb813827a
Update CHANGELOG.md 2019-11-08 12:19:15 -05:00
Vishal Nayak
c27a1c1840
Ensure only primary stores the case sensitivity state (#7820)
* Ensure only primary stores the case sensitivity state

* Update the check
2019-11-08 12:13:53 -05:00
Jeff Mitchell
583be49d5e Update API/vendoring 2019-11-08 11:40:12 -05:00
Jeff Mitchell
bdd38fca2c changelog++ 2019-11-08 11:33:47 -05:00
Jeff Mitchell
6f1749a88e
Add ability to renew by accessor (#7817)
* Add renewing by accessor

* Add accessor renewing test and fix bug

* Update website docs

* Remove extra newline

* Add command-level test
2019-11-08 11:32:01 -05:00
Jeff Mitchell
3ba640c34b go-ldap update; bump dep, api, secrets-ad plugin, and vendor 2019-11-08 11:24:46 -05:00
Chris Hoffman
20f70f0090
changelog++ 2019-11-08 11:23:46 -05:00
Jeff Mitchell
73e6072352 Bump API's SDK 2019-11-08 11:20:21 -05:00
Jeff Mitchell
82f2b55710 Bump go-ldap
Closes https://github.com/hashicorp/vault/pull/7780

Changes to other parts of Vault have to come piece by piece, that's
next.
2019-11-08 11:18:36 -05:00
Chris Hoffman
e4822e3826
changelog++ 2019-11-08 08:54:37 -05:00
Connor Poole
2e367c5418 adding a write bytes method (#7611) 2019-11-07 17:54:05 -08:00