10591 Commits

Author SHA1 Message Date
Jeff Mitchell
b43299fe64 Fix m'mistakes 2019-06-29 14:50:34 -04:00
Jeff Mitchell
9a7219d9f9 Add some extra checks to tokenutil 2019-06-29 14:48:17 -04:00
Jeff Mitchell
51e624c2a2
Update userpass to use tokenutil's TokenParams (#6907)
* Update userpass to use tokenutil's TokenParams

* Use tokenutil deprecation helper
2019-06-28 18:20:53 -04:00
Jeff Mitchell
641987c152 This breaks build (for a moment) because I want to pull this change out
of the tokenutil-userpass PR so that stands alone as a template.
2019-06-28 18:19:48 -04:00
Matthew Irish
27e595e352
UI - dynamic related capabilities (#7013)
* lay groundwork for application serializer to setup capabilities relationships

* add api path util and tests, and attach-capabilites fn

* make attach-capabilities work with array responses, add tests
2019-06-28 16:07:45 -05:00
Vishal Nayak
c9ecbb663a
Raft Docs (#6966)
* Raft configuration doc

* API docs

* join sample

* Fix the Join API

* Add snapshot-force

* Update sys/storage subsection

* Use actual certs in examples

* Add sample configuration response

* Fix link

* remove TLS config options
2019-06-28 14:09:14 -04:00
Vishal Nayak
ac8125db9a
Raft tests (#7008)
* Add join test

* Add configuration test

* Add remove peer test

* Test join with and without client certs
2019-06-28 14:08:53 -04:00
Calvin Leung Huang
42121c1f70
KMIP docs (#6969)
* docs: add docs/secrets/kmip

* Add KMIP API docs.

* small typo fix

* Update website/source/api/secret/kmip/index.html.md

Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com>

* Update website/source/api/secret/kmip/index.html.md

Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com>

* Update website/source/api/secret/kmip/index.html.md

Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com>

* Update website/source/api/secret/kmip/index.html.md

Co-Authored-By: Calvin Leung Huang <cleung2010@gmail.com>

* format tables in api docs

* fix table formatting

* Fix wording.

* Remove references to tls_max_path_length.
2019-06-28 11:05:00 -07:00
Jeff Mitchell
981c19e932 Check ctx again after getting state lock when forwarding 2019-06-27 20:36:16 -04:00
Jeff Mitchell
b6c1c4252b Bump api/sdk 2019-06-27 18:01:05 -04:00
Vishal Nayak
21b5ec5dc3
Fix raft config response (#6975) 2019-06-27 17:39:52 -04:00
Jeff Mitchell
7e230684aa
Standardize how we format deprecated values in traditional path-help (#7007) 2019-06-27 14:52:52 -04:00
Brian Kassouf
9681121b34
storage/raft: fix races in tests (#6996)
* storage/raft: fix races in tests

* Fix another test race
2019-06-27 10:00:03 -07:00
Jeff Mitchell
8af1e25f14 changelog++ 2019-06-27 12:57:15 -04:00
Jeff Mitchell
fe636fb73f
Add a deprecated helper to tokenutil and JSON output to path-help (#7006) 2019-06-27 12:56:31 -04:00
Michael Gaffney
0a58f3077b
Bump KV dep 2019-06-27 12:08:11 -04:00
Jim Kalafut
164c946e5f
Support EC and EdDSA in identity tokens (#6992) 2019-06-27 08:34:48 -07:00
Jeff Mitchell
3428b21f14 changelog++ 2019-06-27 11:07:20 -04:00
Aaron Donovan
b70f5c4923 Allow configuration of nonce for ec2 authentication (#6953)
* Allow configuration of nonce for ec2 authentication

* Addressing pull request comment
2019-06-27 11:06:20 -04:00
Thomas Kula
755fde7023 Cert auth method examples need to use https (#6961)
In order to present a client certificate to use the certificate
auth method, you must use https.
2019-06-27 11:04:09 -04:00
Jeff Mitchell
a46b596347 Add deprecation notices for policymap/pathmap
External plugin authors keep using it :-(
2019-06-27 10:17:05 -04:00
dr-db
47d0e56fa4 Fix the doc string for IsFatalError (#7000) 2019-06-27 12:50:47 +02:00
Mark Gritter
4216301ea8
Revert "Merge StoragePackerV2 implementation (#6874)" (#6997)
This reverts commit 6cf9efbd750600b230a777fbee0fe9187f592a8a.
2019-06-26 19:26:06 -05:00
Mark Gritter
6cf9efbd75
Merge StoragePackerV2 implementation (#6874)
StoragePackerV2 rewrite based on variadic API instead of bucket-based API.
 * Working variadic functions
 * Invalidate method for replciation
 * Unit tests
2019-06-26 17:54:25 -05:00
Alex Dadgar
cc3a81801f
API Response returns specialized error type (#6984)
* Return specialized error type

* Add a helper for extracting gRPC codes from errors

* Fix spacing in example

* Drop grpc codes

* Fix storing of decoded errors
2019-06-26 11:35:08 -07:00
Michael Gaffney
0d9cdc6811
sdk/framework: add TypeSignedDurationSecond FieldType (#6989)
* Refactor table driven tests to use subtests

* sdk/framework: add TypeSignedDurationSecond FieldType

Adds the TypeSignedDurationSecond FieldType which accepts positive and
negative durations. The existing TypeDurationSecond FieldType does not
accept negative durations.

* Add tests for 0 for TypeDurationSecond and TypeSignedDurationSecond
2019-06-26 13:15:36 -04:00
Matthew Irish
7977a0d516
UI KMIP CA (#6983)
* move download-button and toolbar-download-button to core addon

* add ca model and adapter and show CA on the engine configuration page

* add other side of model relationship for kmip ca<->config
2019-06-26 11:02:05 -05:00
Sam Salisbury
b39176b923
pre-commit: no fail if circleci missing or too old (#6990)
Just a warning instead.
2019-06-26 15:49:42 +01:00
Lexman
8e52b132f2 Identity tokens documentation (#6971) 2019-06-26 07:31:10 -07:00
Sam Salisbury
cd56ee9224
ci pre-flight checks (#6960)
* ci: update Makefile

- Copied from c5c5149583/copythis.circleci/Makefile

* Makefile: make ci- targets phony and more explicit

* ci: add pre-flight checks

- Right now just validates ci config is up to date.

* ci: add --skip-update-check to circleci

* ci: remove cruft from Makefile

* ci: fix missing source dir error message

* ci: consolidate circleci path handling
2019-06-26 15:14:23 +01:00
Noelle Daley
4a58520482
UI: Add HTTP Requests Bar Chart Tooltip (#6972)
* initialize tooltip

* style tooltip

* show date in tooltip

* show tooltip on hover

* style tooltip

* add hover padding for when bar is very short

* add tooltip test and format tooltip date

* revert to using real data

* update comment about binding the tooltip to shadowBars

* remove d3array

* use double colons for pseudo elements

* use elementId in bars-container id name to prevent clashing

* use Object.freeze to eliminate linting error
2019-06-25 15:36:33 -07:00
Matthew Irish
deb137ebf0
UI - kmip role edit form (#6973)
* extend edit form with a custom kmip role form

* adjust model fields and use new kmip role edit form

* customize serialize adapter hook for kmip/role

* refresh list routes in the list mixin

* style up kmip role edit form

* return a promise from preSave so that the queue helper waits to call save

* add serialize tests for the kmip/role adapter

* rename component to edit-form-kmip-role

* add tests for edit-form-kmip-role

* add some clarifying comments

* make input more realistic in tests

* remove delete toolbar
2019-06-25 15:57:50 -05:00
Lexman
19b1a30071
adds tests for the identity/oidc backend (#6964)
* adds several tests

* use deep.Equal to validate responses

* use deep.Equal in a few other places
2019-06-25 12:55:20 -07:00
Brian Kassouf
0f21762322
changelog++ 2019-06-25 11:14:31 -07:00
Matthew Irish
a15b5941b3
only use ember-qunit, ember-cli-qunit is deprecated (#6978) 2019-06-25 11:19:01 -05:00
Jim Kalafut
e4488e477b
changelog++ 2019-06-25 08:36:46 -07:00
Vishal Nayak
ad241b2f6b
Fix Join (#6974) 2019-06-24 18:49:28 -04:00
Jim Kalafut
e4285b1651
Update New Features section in changelog 2019-06-24 15:15:19 -07:00
Jeff Mitchell
cad691bec0 Merge branch 'master' of https://github.com/hashicorp/vault into master-oss 2019-06-24 16:20:27 -04:00
Jeff Mitchell
2ac94d5581
Add the ability to use a dev Consul node for dev storage (#6965) 2019-06-24 13:29:47 -04:00
Clint
3f598616c7
Update CHANGELOG.md 2019-06-24 12:00:50 -05:00
Jim Kalafut
9ca5e55841
Correct API docs examples (#6963) 2019-06-24 07:39:34 -07:00
Jeff Mitchell
e4a86ebd7c
Cut version 1.2.0-beta1 v1.2.0-beta1 2019-06-24 00:36:17 -04:00
Jeff Mitchell
67283848d3 Fix test 2019-06-23 23:05:51 -04:00
Jeff Mitchell
869e2d2f77 changelog++ 2019-06-23 22:00:15 -04:00
Jeff Mitchell
ce78dc8ea6
Allow turning on client auth in test clusters (#6958) 2019-06-23 21:50:27 -04:00
Jeff Mitchell
1e6356b58e Update vendoring 2019-06-23 21:18:45 -04:00
Jeff Mitchell
0a4a86aa89 Update SDK version 2019-06-23 21:18:08 -04:00
Jeff Mitchell
68b40b814c Make CA certificate optional in ClientTLSConfig 2019-06-23 21:17:39 -04:00
Jeff Mitchell
f8a1ac2791 Update vendor 2019-06-23 20:33:45 -04:00