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
Jeff Mitchell
a9155ef85e
Use split-out hashicorp/uuid
2015-10-12 14:07:12 -04:00
Jeff Mitchell
9f0b1547bb
Allow disabling the physical storage cache with 'disable_cache'.
...
Fixes #674 .
2015-10-12 13:00:32 -04:00
Jeff Mitchell
44706da08c
Merge pull request #691 from hashicorp/sethvargo/tabs_spaces_oh_my
...
Remove tabs from terminal output
2015-10-12 12:39:44 -04:00
Seth Vargo
50f720bc06
Remove tabs from terminal output
...
This also standardizes on the indentation we use for multi-line commands as
well as prefixes all commands with a $ to indicate a shell.
2015-10-12 12:10:22 -04:00
Jeff Mitchell
55c26a909e
Documentation updates to remove lease id and duration from generic
...
backend example.
2015-10-12 10:01:15 -04:00
Jeff Mitchell
5fbaa0e64d
Apply mount-tune properties to the token authentication backend.
...
Fixes #688 .
2015-10-09 20:26:39 -04:00
Jeff Mitchell
e02517ae42
Rename tune functions
2015-10-09 20:00:17 -04:00
Jeff Mitchell
b8455be005
Support and use TTL instead of lease for token creation
2015-10-09 19:52:13 -04:00
Jeff Mitchell
ee92124357
Fix output of token-create help to use ttl instead of lease
2015-10-09 19:40:30 -04:00
Jeff Mitchell
b5d674d94e
Add 301 redirect checking to the API client.
...
Vault doesn't generate these, but in some cases Go's internal HTTP
handler does. For instance, during a mount-tune command, finishing the
mount path with / (as in secret/) would cause the final URL path to
contain .../mounts/secret//tune. The double slash would trigger this
behavior in Go's handler and generate a 301. Since Vault generates 307s,
this would cause the client to think that everything was okay when in
fact nothing had happened.
2015-10-09 17:11:31 -04:00
Jeff Mitchell
aa3055f816
Fix mount-tune CLI output
2015-10-09 16:03:31 -04:00
Jeff Mitchell
bf70b677b7
Add timeout to changelog
2015-10-08 19:47:16 -04:00
Jeff Mitchell
9a7336d5f4
Merge pull request #681 from n1tr0g/master
...
added a sensible default timeout for the vault client
2015-10-08 19:44:50 -04:00
Jeff Mitchell
670b6b89bb
Merge pull request #684 from hashicorp/clean-leader-prefix
...
Add a cleanLeaderPrefix function to clean up stale leader entries in core/leader
2015-10-08 14:45:03 -04:00
Jeff Mitchell
bd1dce7f95
Address review feedback for #684
2015-10-08 14:34:10 -04:00
Jeff Mitchell
d58a3b601c
Add a cleanLeaderPrefix function to clean up stale leader entries in core/leader
...
Fixes #679 .
2015-10-08 14:04:58 -04:00
Seth Vargo
89d40450cd
Force a Ruby version
2015-10-08 13:22:20 -04:00
Seth Vargo
6a06be9238
shopt to include dotfiles
2015-10-08 13:22:15 -04:00
Seth Vargo
d7e46e7831
Ignore all of website/vendor
2015-10-08 13:22:03 -04:00
Seth Vargo
cccd4197f7
Do not use rsync
2015-10-08 11:44:21 -04:00
Jeff Mitchell
d39580b38c
Update CLI help text for init/rekey regarding base64-encoded keys
2015-10-08 11:09:30 -04:00
Dejan Golja
87c84db51b
Increase default timeout to 30s which should allow for any operation
...
to complete.
2015-10-09 00:53:35 +11:00
Dejan Golja
ea17b85d94
added a sensible default timeout for the vault client
2015-10-08 18:44:00 +11:00
Jeff Mitchell
1a9f2ae00a
Merge pull request #678 from hashicorp/response-warnings
...
Add the ability for warnings to be added to responses.
2015-10-07 20:18:30 -04:00
Jeff Mitchell
c7cec2aabc
Add unit tests
2015-10-07 20:17:06 -04:00
Jeff Mitchell
760c0bc9d1
Merge pull request #680 from hashicorp/edit-this-page
...
Fix "Edit this page" link
2015-10-07 19:34:05 -04:00
Sam Handler
ed9bb36516
bundle update middleman-hashicorp
2015-10-07 17:41:50 -04:00
Sam Handler
ad09203343
use github_url to generate edit_this_page link
2015-10-07 17:39:08 -04:00
Sam Handler
703c01c767
Add github_slug and website_root config vars
2015-10-07 17:38:22 -04:00
Jeff Mitchell
0ca86fa2cd
Changelogify
2015-10-07 16:18:39 -04:00
Jeff Mitchell
4e0a6c5e5f
Adjust warnings message to make it clear they are from the server
2015-10-07 16:18:39 -04:00
Jeff Mitchell
10d24779c0
Rename GetWarnings->Warnings for responses
2015-10-07 16:18:39 -04:00
Jeff Mitchell
d740fd4a6a
Add the ability for warnings to be added to responses. These are
...
marshalled into JSON or displayed from the CLI depending on the output
mode. This allows conferring information such as "no such policy exists"
when creating a token -- not an error, but something the user should be
aware of.
Fixes #676
2015-10-07 16:18:39 -04:00
Jeff Mitchell
2b5b980a0d
Update godeps
2015-10-07 16:10:00 -04:00