9692 Commits

Author SHA1 Message Date
Jim Kalafut
ffb61ea5f7
Add operationId field to OpenAPI output (#5876)
Fixes #5842
2018-12-12 13:59:23 -08:00
Jeff Mitchell
de1fa7a467 changelog++ 2018-12-12 15:39:06 -05:00
Lukasz Jagiello
6dc872cd10 Remove an empty line for /pki/ca_chain (#5779)
This PR fix #5778.

Easy test case to reproduce the problem:
https://play.golang.org/p/CAMdrOHT7C1

Since `certStr` is empty string during first iteration `strings.Join()`
will merge empty line with first CA cert.

Extra `strings.TrimSpace` call will remove that empty line, before
certificate will be return.
2018-12-12 15:38:35 -05:00
Jeff Mitchell
b701df4757 Update backwards compat fix from 5913 2018-12-12 15:36:28 -05:00
Nándor István Krácser
dbd195f895 Fix list plugins backward compatibility mechanism (#5913) 2018-12-12 15:33:09 -05:00
Jeff Mitchell
227997ec8e changelog++ 2018-12-12 15:30:36 -05:00
Brian Kassouf
19853770fc
changelog++ 2018-12-12 12:28:54 -08:00
Sergey Trasko
aeeed85f33 Fixed markdown for cert documentation (#5735) 2018-12-12 15:27:28 -05:00
Jeff Mitchell
969458ad8f changelog++ 2018-12-12 15:26:48 -05:00
Calvin Leung Huang
7ac17d69c0 cli/json: correctly output the number of key shares and threshold on stored keys (#5910) 2018-12-12 15:26:11 -05:00
Joel Thompson
e366aeb2e3 auth/aws: Clarify docs for cross-account access with IAM auth (#5900)
The docs hadn't been updated to reflect the ability to do cross-account
AWS IAM auth, and so it was a bit confusing as to whether that was
supported. This removes the ambiguity by explicitly mentioning AWS IAM
principals.
2018-12-12 15:21:27 -05:00
Jeff Mitchell
0a1ba70427 Merge branch 'master' of https://github.com/hashicorp/vault into master-oss 2018-12-12 15:16:50 -05:00
Jeff Mitchell
ea06a6f45b changelog++ 2018-12-12 15:08:42 -05:00
Chris Hoffman
436b834c11 adding -dev-kv-v1 flag for forcing kvv1 (#5919) 2018-12-12 12:07:18 -08:00
Þórhallur Sverrisson
8bdd74cfe6 Remove DEL characters from password input (#5837)
* Remove DEL characters from password input

iTerm password manager sends \x03\0x7f before sending a password
from its password manager to make sure the password is not being
echoed to the screen.  Unfortunately, vault login does not handle
the Space DEL sequence, causing the login to fail when using the
password manager.  This patch uses a simple method to delete the
sequence if present anywhere in the string, although it is strictly
only needed at the start of input.

* Simplify iTerm handling to only remove iTerm prefix

The logic now only removes the two byte prefix sent in by iTerm
instead of trying to remove all deletes in the string.

This has been tested to work with the iTerm password manager.

As a small correction, the byte sequence is \x20\x7f.  The
earlier commit message incorrectly stated it was \x03\x7f.
2018-12-12 15:06:10 -05:00
Noelle Daley
f075ed5d40
return correct format of random data generator (#5945) 2018-12-12 11:05:37 -08:00
Bert Roos
426016d99f Added comma for readability (#5941)
Signed-off-by: Bert Roos <Bert-R@users.noreply.github.com>
2018-12-12 09:23:20 -05:00
Graham Land
2afefe6f1c Fixing a couple of small typos (#5942) 2018-12-12 05:56:58 -08:00
Brian Kassouf
4511832bdf
Fix plugin reload when in a namespace (#5937) 2018-12-11 17:21:23 -08:00
Jeff Escalante
9b4156c94a improve bootstrap script and local development instructions 2018-12-11 19:46:52 -05:00
Jeff Mitchell
cc02c26af5 Fix tests 2018-12-11 15:04:02 -05:00
Jeff Mitchell
737a26d156 changelog++ 2018-12-11 11:29:16 -05:00
Jeff Mitchell
e5ffd6a2ca
Properly continue if cert entry is nil when tidying (#5933)
Fixes #5931
2018-12-11 11:28:14 -05:00
emily
12e3cf5c48 Update GCP auth BE docs (#5753)
Documented changes from https://github.com/hashicorp/vault-plugin-auth-gcp/pull/55
* Deprecating `project_id` for `bound_projects` and making it optional
* Deprecating `google_certs_endpoint` (unused)
* Adding group aliases 

Also, some general reformatting
2018-12-10 12:54:18 -08:00
madalynrose
3a1cb8f636
Update CHANGELOG.md 2018-12-10 12:14:51 -05:00
madalynrose
b4edf515be
Search select (#5851) 2018-12-10 11:44:37 -05:00
Jeff Mitchell
516827962c
Update PKI docs (#5929) 2018-12-10 10:24:47 -05:00
Tommy Murphy
1a7cd116a7 Correct GCE Token Parameter (#5667)
As written the GCE token curl results in an error: "non-empty audience parameter required".

Google's docs (https://cloud.google.com/compute/docs/instances/verifying-instance-identity) confirm that the parameter is 'audience' not 'aud'.
2018-12-07 15:10:30 -08:00
Noelle Daley
eef531445b
mask password on ldap auth form (#5898) 2018-12-07 13:23:42 -08:00
Matthew Irish
993166d472
changelog++ 2018-12-07 14:02:58 -06:00
Matthew Irish
6414fc32bf
UI - web cli layout (#5909)
* move console/ui-panel into nav-header component

* notch-specific CSS

* add layout test in the application for the console
2018-12-07 14:00:52 -06:00
Matthew Irish
af78f40cf8
change ui url so that it includes the trailing slash (#5890) 2018-12-05 12:25:16 -06:00
Chris Hoffman
c49d7ace7f
fixing redirect (#5908) 2018-12-05 12:06:15 -05:00
Chris Hoffman
ef4e5103e9
adding a redirect for old style upgrade guide location (#5905) 2018-12-05 10:54:10 -05:00
Chris Hoffman
a05d2a7aba
removing beta tag (#5904) 2018-12-05 10:45:22 -05:00
Jim Kalafut
d05a8df8f7 Update downloads.html.erb (#5899) 2018-12-05 10:40:33 -05:00
Chris Hoffman
579808ffd2
adding upgrade guide for 1.0 (#5903)
* adding upgrade guide for 1.0

* fixing sidebar
2018-12-05 10:33:53 -05:00
Jeff Mitchell
4f54c96c04
Fix SSH CA giving 500 if keys need to be deleted (#5897) 2018-12-04 13:29:11 -05:00
ncabatoff
5fc67c909d
Fix documentation re substitutions. It appears this was broken from day one. (#5896) 2018-12-04 13:14:00 -05:00
Jim Kalafut
d686d3f77f
Update operator migrate docs (#5895) 2018-12-04 08:49:42 -08:00
James Nugent
ac784f400d docs: Clarify the utility of DynamoDB capacities
When configuring DynamoDB, the read and write capacities configured only
have any effect if the table does not exist. As per the comment in the
code [1], the configuration of an existing table is never modified. This
was not previously reflected in the documentation - this commit
rectifies that.

[1]: https://github.com/hashicorp/vault/blob/master/physical/dynamodb/dynamodb.go#L743-L745
2018-12-03 17:55:18 -06:00
Jeff Mitchell
5a70c5b0ec changelog++ 2018-12-03 17:44:12 -05:00
Brian Kassouf
10af0dfb48
Update CHANGELOG.md 2018-12-03 14:19:08 -08:00
Chris Dituri
5400817560 ui/app/adapters/pki.js: fix typo in assert() message (#5882)
Update the assertion to indicate, in order to override the PKI adapter
url() method, one should extend the PKI adapter; not the SSH adapter.
2018-12-03 16:14:59 -06:00
Jeff Mitchell
c19cef1489
Cut version 1.0.0 v1.0.0 2018-12-03 14:37:18 -05:00
Martin
fdd89482ea Typo in policy template doc (#5887) 2018-12-03 14:36:17 -05:00
Jeff Mitchell
5bc9dc85b9
Move some handle request functions up a level (#5889)
* Move some handle request functions up a level

Add clearing of token entry from request, fixing a test

* Update request_handling.go
2018-12-03 14:35:20 -05:00
Jeff Mitchell
6ce32bca48 changelog++ 2018-12-03 12:48:42 -05:00
Jeff Mitchell
59e113be10 changelog++ 2018-12-03 12:46:44 -05:00
Brian Kassouf
e9b8dffd76
fix panic when listing nil resp (#5886) 2018-12-03 09:18:28 -08:00