1325 Commits

Author SHA1 Message Date
Armon Dadgar
2d0cde4ccc vault: improve lease error message. Fixes #338 2015-06-18 15:37:08 -07:00
Armon Dadgar
57c8e7cb25 Merge branch 'pradeepchhetri-master' 2015-06-18 14:31:16 -07:00
Armon Dadgar
46ba8d10a5 physical/mysql: cleanup and documentation 2015-06-18 14:31:00 -07:00
Armon Dadgar
748c8508a5 Merge branch 'master' of https://github.com/pradeepchhetri/vault into pradeepchhetri-master 2015-06-18 13:55:25 -07:00
Armon Dadgar
2772807547 command/write: adding force flag for when no data fields are necessary. Fixes #357 2015-06-18 13:51:06 -07:00
Armon Dadgar
57d1230e6c command/server: fixing output weirdness 2015-06-18 13:48:18 -07:00
Armon Dadgar
0696bc47e0 command/auth: warn earlier about VAULT_TOKEN 2015-06-18 13:48:04 -07:00
Armon Dadgar
ee176b2f5d command/auth: warn about the VAULT_TOKEN env var. Fixes #195 2015-06-17 19:19:02 -07:00
Armon Dadgar
8d2ce570c9 Merge pull request #355 from hashicorp/f-transit
Improving the transit backend
2015-06-17 18:55:29 -07:00
Armon Dadgar
ba24d891fd website: document transit upsert behavior 2015-06-17 18:51:58 -07:00
Armon Dadgar
96119946f3 secret/transit: allow policies to be upserted 2015-06-17 18:51:05 -07:00
Armon Dadgar
7c31e29295 website: update the transit documentation 2015-06-17 18:45:29 -07:00
Armon Dadgar
9238c6def3 secret/transit: Use special endpoint to get underlying keys. Fixes #219 2015-06-17 18:42:23 -07:00
Armon Dadgar
0277cedc8a cmomand/read: strip path prefix if necessary. Fixes #343 2015-06-17 18:33:15 -07:00
Armon Dadgar
70ee1866ca server: graceful shutdown for fast failover. Fixes #308 2015-06-17 18:24:56 -07:00
Armon Dadgar
c60889572e vault: support core shutdown 2015-06-17 18:23:59 -07:00
Armon Dadgar
d19b74f78f command/token-create: provide more useful output. Fixes #337 2015-06-17 16:59:50 -07:00
Armon Dadgar
81df0d6e49 vault: allow increment to be duration string. Fixes #340 2015-06-17 15:58:20 -07:00
Armon Dadgar
dcb45874bf logical/framework: adding a new duration type to convert to seconds 2015-06-17 15:56:26 -07:00
Armon Dadgar
0bd806a586 vault: ensure token renew does not double register 2015-06-17 15:22:50 -07:00
Armon Dadgar
d8f5235764 Merge pull request #354 from hashicorp/f-lease
Fixing various issues around leasing
2015-06-17 15:04:16 -07:00
Armon Dadgar
28dd283c93 builtin: fixing API change in logical framework 2015-06-17 14:34:11 -07:00
Armon Dadgar
2b04348e06 vault: fixing issues with token renewal 2015-06-17 14:28:13 -07:00
Armon Dadgar
daf94d6721 logical/framework: allow the lease max to come from existing lease 2015-06-17 14:24:12 -07:00
Armon Dadgar
2a894171ca logical/framework: simplify calculation of lease renew 2015-06-17 14:16:44 -07:00
Armon Dadgar
7d05dfeb1f logical: remove IncrementedLease, simplify ExpirationTime calculation 2015-06-17 13:59:09 -07:00
Armon Dadgar
05fa4a4a48 secret/postgres: Ensure sane username length. Fixes #326 2015-06-17 13:31:56 -07:00
Seth Vargo
0239e3b1bd Merge pull request #349 from hashicorp/sethvargo/put_on_dat_post_yo
Accept PUT as well as post to sys/mounts
2015-06-16 13:32:15 -04:00
Mitchell Hashimoto
a98c07855b credential/github: get rid of stray tab 2015-06-16 10:05:51 -07:00
Mitchell Hashimoto
dcc84749d1 command/auth, github: improve cli docs
/cc @sethvargo
2015-06-16 10:05:11 -07:00
Seth Vargo
24b9ef49c1 Accept PUT as well as post to sys/mounts 2015-06-16 13:02:21 -04:00
Mitchell Hashimoto
2d865b831d update CHANGELOG 2015-06-16 10:00:38 -07:00
Mitchell Hashimoto
4502bb71b8 helper/kv-builder: blank values should not panic 2015-06-16 10:00:02 -07:00
Armon Dadgar
61f7c098f7 Merge pull request #341 from ryancurrah/ryancurrah-doc-transit-echofix
Do not output the trailing newline in encoding.
2015-06-15 17:36:01 -07:00
Armon Dadgar
177697afeb Merge pull request #342 from bluecmd/patch-1
Record the common name in TLS metadata
2015-06-15 17:35:53 -07:00
Seth Vargo
2510b96218 Merge pull request #344 from hashicorp/sethvargo/doc_policy
Document longest-prefix match
2015-06-15 14:31:42 -04:00
Seth Vargo
b9112733f3 Document longest-prefix match
Fixes https://github.com/hashicorp/vault/issues/331
2015-06-15 14:29:20 -04:00
Seth Vargo
1131a61d22 Update gems 2015-06-15 13:54:36 -04:00
Christian Svensson
f184c5985a Record the common name in TLS metadata
It is useful to be able to save the client cert's Common Name for auditing purposes when using a central CA.

This adds a "common_name" value to the Metadata structure passed from login.
2015-06-14 23:18:21 +01:00
Ryan Currah
35f1cfeb77 Do not output the trailing newline in encoding.
Added -n to echo command to prevent newlines from showing up in encoding.
2015-06-13 12:03:57 -04:00
Pradeep Chhetri
7c7f64fe67 Fixed a failing test and drop table after running tests 2015-06-13 08:24:27 +05:45
Pradeep Chhetri
3ff10a7573 Fixing List command behaviour 2015-06-12 23:16:46 +05:45
Pradeep Chhetri
b33d707b69 Added the test as per suggestion 2015-06-12 15:32:45 +05:45
Pradeep Chhetri
c42bc38c62 Changes done as per feedback 2015-06-12 13:24:41 +05:45
Pradeep Chhetri
9c3881442e Physical MySQL backend implementation - First Cut 2015-06-09 01:37:25 +05:45
Armon Dadgar
2b0b519a16 Merge pull request #318 from jefferai/f-fix-client-default
Fix nil dereference in API client
2015-06-06 13:35:48 -07:00
Jeff Mitchell
6f5f247b28 The docs say that if HttpClient is nil, http.DefaultClient will be used. However, the code doesn't do this, resulting in a nil dereference. 2015-06-04 14:01:10 -04:00
Seth Vargo
a0ad309d1f Merge pull request #315 from justincampbell/docs-json-auth
docs: Fix examples of auth via JSON
2015-06-04 11:08:01 -04:00
Justin Campbell
a8850ed5ed docs: Fix examples of auth via JSON
For both userpass and LDAP
2015-06-04 10:38:11 -04:00
Justin Campbell
55de351b98 Remove .DS_Store
Already gitignored
2015-06-04 10:17:00 -04:00