9692 Commits

Author SHA1 Message Date
bohr
9cd4c31cf6 add backtick to fix mysql database name contain special characters (#5054)
when use mysql storage, set` database = "dev-dassets-bc"` , create database and create table will throw exceptions as follows:

    Error initializing storage of type mysql: failed to create mysql database: Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-dassets-bc' at line 1
    Error initializing storage of type mysql: failed to create mysql table: Error 1046: No database selected

cause of `-` is  a MySQL  built-in symbol. so add backtick for create database sql\create table sql \dml sqls.
2018-08-10 16:38:20 -07:00
Yoko
58967f725f
[Guide] Vault Cluster Monitoring Guide (#5084)
* Vault cluster monitoring guide

* Updated the download link

* Fixed broken link
2018-08-10 13:52:02 -07:00
Jeff Mitchell
a8c1f7bed5 Port over ns identity proto info 2018-08-10 12:45:34 -04:00
Jeff Mitchell
bbc7b7cc8d Port over some ns stuff 2018-08-10 12:17:17 -04:00
Jeff Mitchell
ef6744f9af Port some ns stuff over 2018-08-10 12:13:11 -04:00
Jim Kalafut
e8ca263d3b
changelog++ 2018-08-10 09:12:32 -07:00
Jim Kalafut
c4b32ced0e
Fix DB role statement update (#5058)
The backwards compatibility logic was preventing updates to role
statements from taking effect. This change removes persistence of
deprecated statement fields.
2018-08-10 09:00:52 -07:00
Jim Kalafut
7b9fee7b2d
Add RDS notes to MSSQL docs (#5062) 2018-08-10 08:52:21 -07:00
Jeff Mitchell
e090f44e73
Fix some cases where unauthorized calls could return 400 (#5083) 2018-08-10 08:59:58 -05:00
Jeff Mitchell
166a2ac372 Add headers accessor and ns function 2018-08-09 18:29:03 -04:00
Jeff Mitchell
0efaa97cfd Add json tag to names response for sys_plugins 2018-08-09 18:02:03 -04:00
Jeff Mitchell
b915e47caa Remove unused variable 2018-08-09 16:47:58 -04:00
Jeff Mitchell
ad9d4b0aad changelog++ 2018-08-09 16:38:22 -04:00
Jeff Mitchell
49d5849d26
Merge Identity Entities if two claim the same alias (#5075)
* Merge Identity Entities if two claim the same alias

Past bugs/race conditions meant two entities could be created each
claiming the same alias. There are planned longer term fixes for this
(outside of the race condition being fixed in 0.10.4) that involve
changing the data model, but this is an immediate workaround that has
the same net effect: if two entities claim the same alias, assume they
were created due to this race condition and merge them.

In this situation, also automatically merge policies so we don't lose
e.g. RGPs.
2018-08-09 15:37:36 -05:00
Jim Kalafut
f3c7df607d
Update ParseStringSlice and address lint/vet warnings (#5069) 2018-08-09 11:13:37 -07:00
Jeff Mitchell
b6c56dfd13 changelog++ 2018-08-09 14:08:16 -04:00
Martin
d287ed4d03 Add mount_path and mount_type to group lookups (#5074) 2018-08-09 13:07:24 -05:00
Jeff Mitchell
dd68f25a67 Website typo fix 2018-08-08 15:53:40 -04:00
Jeff Mitchell
f9aa073c04 Fix typo 2018-08-08 14:38:11 -04:00
Jim Kalafut
179b8c2c1b
Add ttl parameter to pki api docs (#5063) 2018-08-08 09:12:14 -07:00
Conor Mongey
6ba9aaaa0d Fix typo: Consult Template -> Consul Template (#5066) 2018-08-08 09:01:45 -07:00
Brian Kassouf
00916da905
Rollback: Only grab statelock if we are running async (#5064) 2018-08-07 17:48:43 -07:00
Jason Martin
c944bb075f Fix typo in the AWS STS AssumeRole docs. (#5061) 2018-08-07 15:25:50 -07:00
Brian Kassouf
cdc9b357e7
Update k8s auth (#5059) 2018-08-07 10:45:40 -07:00
Ian Grayson
0d5dd986ba Update policies.html.md (#5007)
Allow admins to run CLI: `vault secrets list`
2018-08-07 10:35:23 -07:00
Jeff Escalante
b84ef1a814 html syntax corrections (#5009) 2018-08-07 10:34:35 -07:00
Rob
624636b76f Update dev-server.html.md (#5035)
The instructions were in backwards order. #3591
2018-08-07 10:33:30 -07:00
Calvin Leung Huang
ece7569aca Clean up container on connection failure, switch to ory/dockertest on package postgresql (#5050) 2018-08-07 09:56:33 -07:00
Yoko
6977aa70f1
Typo fix (#5052) 2018-08-06 15:50:39 -07:00
Yoko
c840cead27
[Guide] Sentinel Policies (#5049)
* Sentinel policies guide

* Typo fix
2018-08-06 15:39:32 -07:00
Yoko
0df3d03797
[Guide] SSH Secrets Engine (#5022)
* OTP SSH guide

* Fixed the required policy

* Added the step to restart the SSH server

* Update ssh-otp.html.md

Just a few edits to highlight its cloud context. Looks great otherwise!
2018-08-06 15:04:24 -07:00
Yoko
a14e5c7ef1
[Guide] Build Your Own CA Guide (#4995)
* WIP

* WIP

* WIP - Jake's PKI demo

* WIP

* PKI secret engine guide

* Added little more description about role

* Added tidy step

* Fixed a broken link
2018-08-06 14:42:46 -07:00
Joshua Ogle
6c00717b01 Better OS highlighting 2018-08-06 12:30:31 -06:00
Joshua Ogle
eea840086c Javascript refactor for configuration builder 2018-08-06 11:55:36 -06:00
Joel Thompson
f7150ae74c Vendor AWS ARN parser (#5048)
This adds the AWS ARN parser into the vendor as suggested by
https://github.com/hashicorp/vault/pull/4360#discussion_r186744987
2018-08-06 09:51:06 -07:00
Jim Kalafut
7fbdbe7d93
Add plugin user-agent helper (#5039) 2018-08-06 09:02:04 -07:00
Jeff Mitchell
463455aa03 Fix stepdown body closing 2018-08-04 11:50:29 -04:00
Joshua Ogle
2de4b52860 Better JavaScript line wrapping in configuration 2018-08-03 23:37:58 -06:00
Joshua Ogle
9d3e5db2e5 JS Feedback fixes, make UI default on click 2018-08-03 22:57:17 -06:00
Joshua Ogle
86f70e294a
Merge branch 'master' into oss-download-config-path 2018-08-03 16:53:45 -06:00
Chris Hoffman
7be900fffd Add Configuration Builder and Better Download page
- Make Download Link more prominent on home page
- Add UI Demo link to home page
- Download page now suggests download based on your current system
- Added links for next steps
- Added configuration builder form, including downloading your custom config
2018-08-03 16:31:22 -06:00
Jim Kalafut
45341f911c Update GCP auth plugin (#5043)
Fixes #5037
2018-08-03 14:56:02 -07:00
Olivier Lemasle
31978a402d Fix two errors in docs (#5042)
Two small errors in documentation
2018-08-03 14:26:46 -07:00
Jim Kalafut
bb180b8661
Add PluginEnv to SystemView (#5028) 2018-08-03 09:32:17 -07:00
Jim Kalafut
dbd669103e Fix docs sidebar layout 2018-08-03 09:15:45 -07:00
Jason Martin
148e212b48 Fix typo in the AWS STS AssumeRole docs. (#5032) 2018-08-02 22:57:24 -07:00
Gerald
a070299171 Fix gcp auth method link (#5030) 2018-08-02 22:55:59 -07:00
Jiang Yong
bb196e0576 correct Jenkins policy and mysql secret path when kv put in authentication guide (#5023)
* correct Jenkins policy and mysql secret path when kv put

* add a note for kv-v2 secret
2018-08-02 08:38:51 -07:00
Chris Hoffman
40a1ad5910
Plumbing request context through to expiration manager (#5021)
* plumbing request context to expiration manager

* moar context

* address feedback

* only using active context for revoke prefix

* using active context for revoke commands

* cancel tidy on active context

* address feedback
2018-08-01 21:39:39 -04:00
Jim Kalafut
51e62e9190
Improve error message formatting (#5029)
Fixes #4999
2018-08-01 16:20:56 -07:00