Commit graph

2156 commits

Author SHA1 Message Date
Jeff Mitchell 2d8e3b35f2 Revoke permissions before dropping user in postgresql.
Currently permissions are not revoked, which can lead revocation to not
actually work properly. This attempts to revoke all permissions and only
then drop the role.

Fixes issue #699
2015-10-30 11:58:52 -04:00
Jeff Mitchell 24f1da837e Merge pull request #735 from hashicorp/unexport-create-roottoken
Make the token store's Create and RootToken functions non-exported.
2015-10-30 11:04:29 -04:00
Jeff Mitchell 636d57a026 Make the token store's Create and RootToken functions non-exported.
Nothing requires them to be exported, and I don't want anything in the
future to think it's okay to simply create a root token when it likes.
2015-10-30 10:59:26 -04:00
Jeff Mitchell 541312ebee Merge pull request #731 from hashicorp/sethvargo/trail
Force a trailing slash
2015-10-29 16:22:52 -04:00
Seth Vargo f83eba4666 Force a trailing slash 2015-10-29 16:21:39 -04:00
Jeff Mitchell cf4b88c196 Write HMAC-SHA256'd client token to audited requests
Fixes #713
2015-10-29 13:26:18 -04:00
Jeff Mitchell 528e859c4b Fix wording 2015-10-29 12:58:29 -04:00
Jeff Mitchell b30705479e Merge pull request #729 from hashicorp/issue-697
Documentation update around path/key name encryption.
2015-10-29 11:22:50 -04:00
Jeff Mitchell e2d4a5fe0f Documentation update around path/key name encryption.
Make it clear that path/key names in generic are not encrypted.

Fixes #697
2015-10-29 11:21:40 -04:00
Jeff Mitchell 6198f5d08b Merge pull request #728 from hashicorp/issue-718
Check TTL provided to generic backend on write
2015-10-29 11:06:30 -04:00
Jeff Mitchell 85d4dd6a1d Check TTL provided to generic backend on write
If existing entries have unparseable TTLs, return the value plus a
warning, rather than an error.

Fixes #718
2015-10-29 11:05:21 -04:00
Jeff Mitchell 59cb8003a1 Merge pull request #725 from hashicorp/add-reset-for-unseal
Add reset support to the unseal command.
2015-10-28 16:05:58 -04:00
Jeff Mitchell c1d8b97342 Add reset support to the unseal command.
Reset clears the provided unseal keys, allowing the process to be begun
again. Includes documentation and unit test changes.

Fixes #695
2015-10-28 15:59:39 -04:00
Jeff Mitchell 7b25204a19 Fix cache disabling 2015-10-28 13:05:56 -04:00
Jeff Mitchell 57290b6d92 Minor format fix in environment documentation 2015-10-28 09:56:28 -04:00
Seth Vargo b057645d73 Use vendored fastly logo 2015-10-26 12:13:03 -04:00
Jeff Mitchell 4465a2e4ea Merge pull request #719 from hashicorp/sethvargo/releases
Use releases for releases
2015-10-26 09:43:00 -04:00
Seth Vargo a710a80252 Use releases for releases 2015-10-26 00:06:17 -04:00
Jeff Mitchell 4c52b41374 Merge pull request #717 from jantman/patch-1
add GitHub Enterprise base_url to docs
2015-10-23 09:39:54 -04:00
Jason Antman c7ff26b650 add documentation for GitHub Auth Backend 'ttl' and 'max_ttl' parameters 2015-10-23 09:30:48 -04:00
Jason Antman b27e80d090 add GitHub Enterprise base_url to docs
In https://github.com/hashicorp/vault/issues/716 @jefferai confirmed that the GitHub Auth Backend supports GitHub enterprise using an undocumented ``base_url`` parameter. This adds that parameter to the relevant documentation page.
2015-10-23 09:18:07 -04:00
Jeff Mitchell 9026b5c127 Update changelog 2015-10-23 09:18:03 -04:00
Jeff Mitchell 11f038f4a3 Merge pull request #715 from voutasaurus/master
Resolves issue 704 (Windows VAULT_ADDR env var)
2015-10-23 09:17:10 -04:00
Jeff Mitchell be255ad46c Bump Godeps 2015-10-23 09:14:09 -04:00
voutasaurus dcca05874c Merge branch 'master' of https://github.com/hashicorp/vault 2015-10-23 00:41:55 -07:00
Jeff Mitchell 3dd27c3900 Merge pull request #711 from boonedox/bugfix/first-secret-typo
fix typo in first-secret.html.md
2015-10-22 15:01:27 -04:00
Jeff Mitchell 22c65c0c07 Use cleanhttp instead of bare http.Client 2015-10-22 14:37:12 -04:00
Jeremiah Johnson d4a8c08feb fix typo in first-secret.html.md 2015-10-22 12:04:22 -06:00
Jeff Mitchell 0168ce491b Update token documentation to better explain token durations 2015-10-22 13:02:37 -04:00
voutasaurus 1da78942e8 Modifies documentation in output of vault server -dev
Environment variable setting is different in windows
2015-10-22 00:48:46 -07:00
Jeff Mitchell 189b72c3ba Document the renew-self call 2015-10-21 10:53:20 -04:00
Jeff Mitchell bc40e652bf Remove revoke-self from sys API documentation as it's in the token-store instead 2015-10-21 10:46:41 -04:00
Jeff Mitchell a311e45405 Merge pull request #707 from mkb/patch-1
Minor grammar fix.
2015-10-20 16:50:22 -04:00
mkb 1d29ae940a Minor grammar fix. 2015-10-20 13:42:46 -07:00
Jeff Mitchell 371cea23ac Merge pull request #702 from hashicorp/no-default-httpclient
Don't use http.DefaultClient
2015-10-20 13:07:17 -04:00
Jeff Mitchell 691f9e9b92 Rewrap changelog 2015-10-20 12:57:42 -04:00
Jeff Mitchell ffe531923d Changelogify 2015-10-20 12:31:01 -04:00
Mitchell Hashimoto aecb13394c Merge pull request #705 from hashicorp/b-password-interrupt
helper/password: interrupt should exit readline
2015-10-16 16:20:58 -07:00
Mitchell Hashimoto 2917e6be2f helper/password: interrupt should exit readline 2015-10-16 16:01:19 -07:00
Jeff Mitchell cba4e82682 Don't use http.DefaultClient
This strips out http.DefaultClient everywhere I could immediately find
it. Too many things use it and then modify it in incompatible ways.

Fixes #700, I believe.
2015-10-15 17:54:00 -04:00
Jeff Mitchell e6f96f71da Update godeps, especially to get in hashicorp/consul#1310 2015-10-15 17:52:18 -04:00
Jeff Mitchell 5cc2794c03 Merge pull request #701 from levigross/master
Fixed comment spelling mistake and removed unnecessary variable allocation
2015-10-15 14:58:23 -04:00
Levi Gross fffcfc668b Fixed comment spelling mistake and removed unnecessary variable allocation 2015-10-15 14:51:30 -04:00
Seth Vargo 8958e61e3c Merge pull request #696 from frntn/patch-1
minor typo fix
2015-10-13 16:38:39 -04:00
Matthieu Fronton cd06cd078b minor typo fix 2015-10-13 22:38:13 +02:00
Jeff Mitchell 35a7f0de22 Add '.' to GenericNameRegex; it cannot appear as the first or last
character. This allows its usage in a number of extra path-based
variables.

Ping #244
2015-10-13 16:04:10 -04:00
Jeff Mitchell 78b5fcdf51 Serialize changing the state of the expiration manager pointer and
calling emitMetrics from its own goroutine.

Fixes #694
2015-10-12 16:33:54 -04:00
Jeff Mitchell 794adcce14 Merge pull request #693 from hashicorp/update-middleman
Update middleman-hashicorp
2015-10-12 15:29:05 -04:00
Jeff Mitchell ed6ce1c53e Fix a logic bug around setting both a mount default and max at the same time. Ping #688. 2015-10-12 14:57:43 -04:00
Sam Handler df0d335700 bundle update middleman-hashicorp 2015-10-12 14:28:43 -04:00