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
Jeff Mitchell
50b9129e65
Normalize policy names to lowercase on write. They are not currently
...
normalized when reading or deleting, for backwards compatibility.
Ping #676 .
2015-10-07 13:52:21 -04:00
Jeff Mitchell
4a52de13e3
Add renew-self endpoint.
...
Fixes #455 .
2015-10-07 12:49:13 -04:00
Jeff Mitchell
3c914f7fa8
Add revocation/renewal functions in all cases in the generic backend.
...
Fixes #673 .
2015-10-07 11:42:23 -04:00
Jeff Mitchell
2091842dca
Sort policies when checking for equality
2015-10-06 15:48:25 -04:00
Jeff Mitchell
6f4e42efed
Add StaticSystemView to LDAP acceptance tests
2015-10-06 15:48:10 -04:00
Jeff Mitchell
ad840233eb
Allow base64-encoded keys to be used on the CLI for init/rekey.
...
Fixes #653 .
2015-10-06 12:47:01 -04:00
Jeff Mitchell
63e4f28f60
Use rsync in push script to avoid differing 'cp' behavior on OSX/Linux
2015-10-06 12:15:25 -04:00
Jeff Mitchell
9c22ea2511
Cut version 0.3.1
2015-10-06 11:13:05 -04:00
Jeff Mitchell
4431253ec9
Rename NOBINTRAY to something more sensible
2015-10-06 11:11:51 -04:00
Jeff Mitchell
de571c304d
Add changelog entries for 0.3.1 and bump version in CLI
2015-10-06 11:03:55 -04:00
Jeff Mitchell
342a547fde
Link to our security contact point in the Readme
2015-10-05 19:39:25 -04:00
Jeff Mitchell
21644751ed
Fix the key rotation upgrade check error message
2015-10-05 18:23:32 -04:00
Vishal Nayak
bf464b9a4b
Merge pull request #661 from hashicorp/maxopenconns
...
Parameterize max open connections in postgresql and mysql backends
2015-10-03 16:55:20 -04:00
Vishal Nayak
706b806565
Merge pull request #664 from hashicorp/github-renewal
...
Github backend: Enable auth renewals
2015-10-03 16:11:56 -04:00
vishalnayak
a740c68eab
Added a test case. Removed setting of defaultTTL in config.
2015-10-03 15:36:57 -04:00
vishalnayak
145aee229e
Merge branch 'master' of https://github.com/hashicorp/vault
2015-10-03 00:07:34 -04:00
vishalnayak
8e7975edc8
Added ConnectionURL along with ConnectionString
2015-10-02 23:47:10 -04:00
vishalnayak
e3f04dc444
Added testcases for config writes
2015-10-02 22:10:51 -04:00
Jeff Mitchell
645932a0df
Remove use of os/user as it cannot be run with CGO disabled
2015-10-02 18:43:38 -07:00
Jeff Mitchell
8f27c250d6
Fix problematic logging statements.
...
Fixes #665 .
2015-10-02 18:31:46 -07:00
vishalnayak
ea0aba8e47
Use SanitizeTTL in credential request path instead of config
2015-10-02 15:41:35 -04:00
vishalnayak
69b478fff1
fix struct tags
2015-10-02 14:13:27 -04:00
vishalnayak
c7fd639b2e
Remove format parameter
2015-10-02 14:10:24 -04:00
vishalnayak
3dd84446ab
Github backend: enable auth renewals
2015-10-02 13:33:19 -04:00
vishalnayak
1f12482995
Fix ConnectionString JSON value
2015-10-02 12:07:31 -04:00