9692 Commits

Author SHA1 Message Date
Jeff Mitchell
639f91a293 Address review feedback for #684 2015-10-08 14:34:10 -04:00
Jeff Mitchell
f0ce939f66 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
9299ab2593 Force a Ruby version 2015-10-08 13:22:20 -04:00
Seth Vargo
9649c534f6 shopt to include dotfiles 2015-10-08 13:22:15 -04:00
Seth Vargo
73d2405ae9 Ignore all of website/vendor 2015-10-08 13:22:03 -04:00
Seth Vargo
87948e2cbc Do not use rsync 2015-10-08 11:44:21 -04:00
Jeff Mitchell
843c5353c3 Update CLI help text for init/rekey regarding base64-encoded keys 2015-10-08 11:09:30 -04:00
Dejan Golja
71615a172c Increase default timeout to 30s which should allow for any operation
to complete.
2015-10-09 00:53:35 +11:00
Dejan Golja
4ee297408f added a sensible default timeout for the vault client 2015-10-08 18:44:00 +11:00
Jeff Mitchell
3936943f8a 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
c8af19e9dc Add unit tests 2015-10-07 20:17:06 -04:00
Jeff Mitchell
e20b080786 Merge pull request #680 from hashicorp/edit-this-page
Fix "Edit this page" link
2015-10-07 19:34:05 -04:00
Sam Handler
7a4188dae2 bundle update middleman-hashicorp 2015-10-07 17:41:50 -04:00
Sam Handler
8c23fd4ef9 use github_url to generate edit_this_page link 2015-10-07 17:39:08 -04:00
Sam Handler
10d843458d Add github_slug and website_root config vars 2015-10-07 17:38:22 -04:00
Jeff Mitchell
9e1bb949ab Changelogify 2015-10-07 16:18:39 -04:00
Jeff Mitchell
41f7cc9406 Adjust warnings message to make it clear they are from the server 2015-10-07 16:18:39 -04:00
Jeff Mitchell
9126ddb4de Rename GetWarnings->Warnings for responses 2015-10-07 16:18:39 -04:00
Jeff Mitchell
fd2c0f033e 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
89ee5d8d3b Update godeps 2015-10-07 16:10:00 -04:00
Jeff Mitchell
3795a5d22a 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
29e105fe3e Add renew-self endpoint.
Fixes #455.
2015-10-07 12:49:13 -04:00
Jeff Mitchell
8e244c61cb Add revocation/renewal functions in all cases in the generic backend.
Fixes #673.
2015-10-07 11:42:23 -04:00
Jeff Mitchell
7c7b21c61e Sort policies when checking for equality 2015-10-06 15:48:25 -04:00
Jeff Mitchell
5c73e779c4 Add StaticSystemView to LDAP acceptance tests 2015-10-06 15:48:10 -04:00
Jeff Mitchell
db4000b74c 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
9dc8f3a164 Use rsync in push script to avoid differing 'cp' behavior on OSX/Linux 2015-10-06 12:15:25 -04:00
Jeff Mitchell
2b1ddc4a7b
Cut version 0.3.1 v0.3.1 2015-10-06 11:13:05 -04:00
Jeff Mitchell
0e06b4e8e2 Rename NOBINTRAY to something more sensible 2015-10-06 11:11:51 -04:00
Jeff Mitchell
b7e8ec8ff8 Add changelog entries for 0.3.1 and bump version in CLI 2015-10-06 11:03:55 -04:00
Jeff Mitchell
ee0fcbf86c Link to our security contact point in the Readme 2015-10-05 19:39:25 -04:00
Jeff Mitchell
e72863d163 Fix the key rotation upgrade check error message 2015-10-05 18:23:32 -04:00
Vishal Nayak
e217795abd 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
447f96c8b7 Merge pull request #664 from hashicorp/github-renewal
Github backend: Enable auth renewals
2015-10-03 16:11:56 -04:00
vishalnayak
e47b2838a0 Added a test case. Removed setting of defaultTTL in config. 2015-10-03 15:36:57 -04:00
vishalnayak
02f11cb2da Merge branch 'master' of https://github.com/hashicorp/vault 2015-10-03 00:07:34 -04:00
vishalnayak
8dc5bdf0e3 Added ConnectionURL along with ConnectionString 2015-10-02 23:47:10 -04:00
vishalnayak
d30beea4db Added testcases for config writes 2015-10-02 22:10:51 -04:00
Jeff Mitchell
5088eb322c Remove use of os/user as it cannot be run with CGO disabled 2015-10-02 18:43:38 -07:00
Jeff Mitchell
0c049aa240 Fix problematic logging statements.
Fixes #665.
2015-10-02 18:31:46 -07:00
vishalnayak
e89cf4d4bc Use SanitizeTTL in credential request path instead of config 2015-10-02 15:41:35 -04:00
vishalnayak
af61803256 fix struct tags 2015-10-02 14:13:27 -04:00
vishalnayak
25f604f429 Remove format parameter 2015-10-02 14:10:24 -04:00
vishalnayak
bf017d28d1 Github backend: enable auth renewals 2015-10-02 13:33:19 -04:00
vishalnayak
fd72fbd342 Fix ConnectionString JSON value 2015-10-02 12:07:31 -04:00
Jeff Mitchell
df90e664ad Merge pull request #663 from curtisallen/update-acl
update acl example
2015-10-02 11:49:48 -04:00
Curtis Allen
50680b8740 update acl example
Without `auth/token/lookup-self` read access you are unable to
authenticate. Update example to work as well as use new command output.
2015-10-02 09:06:42 -06:00
vishalnayak
93c4cccc6e mysql: made max_open_connections configurable 2015-10-01 21:15:56 -04:00
vishalnayak
bc5ad114e4 postgresql: Configurable max open connections to the database 2015-10-01 20:11:24 -04:00
Jeff Mitchell
245df9eb64 Fix cross compile by setting CGO_ENABLED=0 2015-10-01 12:32:28 -07:00