open-vault/vault
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
..
acl.go vault: Handle exact vs glob match, deny has highest precedence 2015-07-05 17:31:30 -06:00
acl_test.go vault: adding another ACL test 2015-07-05 17:34:34 -06:00
audit.go Fix problematic logging statements. 2015-10-02 18:31:46 -07:00
audit_test.go Expand HMAC support in Salt; require an identifier be passed in to specify type but allow generation with and without. Add a StaticSalt ID for testing functions. Fix bugs; unit tests pass. 2015-09-18 17:38:30 -04:00
auth.go Fix problematic logging statements. 2015-10-02 18:31:46 -07:00
auth_test.go Move more cubby logic outside of router into auth setup 2015-09-15 13:50:37 -04:00
barrier.go vault: adding ability to reload master key 2015-05-29 14:29:55 -07:00
barrier_aes_gcm.go Bump AESGCM version; include path in the GCM tags. 2015-09-19 17:04:37 -04:00
barrier_aes_gcm_test.go Bump AESGCM version; include path in the GCM tags. 2015-09-19 17:04:37 -04:00
barrier_test.go vault: adding ability to reload master key 2015-05-29 14:29:55 -07:00
barrier_view.go vault: Split SecurityBarrier interface to BarrierStorage 2015-04-10 16:43:35 -07:00
barrier_view_test.go vault: Adding ClearView method 2015-04-02 11:18:05 -07:00
core.go Address review feedback for #684 2015-10-08 14:34:10 -04:00
core_test.go Address review feedback for #684 2015-10-08 14:34:10 -04:00
dynamic_system_view.go Take ClientToken instead of Policies 2015-09-21 10:04:03 -04:00
expiration.go Implement the cubbyhole backend 2015-09-15 13:50:37 -04:00
expiration_test.go Push a lot of logic into Router to make a bunch of it nicer and enable a 2015-09-10 15:09:54 -04:00
keyring.go vault: fixing a typo 2015-06-02 16:04:05 +02:00
keyring_test.go vault: attempt to resolve #303 2015-06-02 22:55:18 +02:00
logical_cubbyhole.go Directly pass the cubbyhole backend to the token store and bypass logic in router 2015-09-15 13:50:37 -04:00
logical_cubbyhole_test.go Implement the cubbyhole backend 2015-09-15 13:50:37 -04:00
logical_passthrough.go Add revocation/renewal functions in all cases in the generic backend. 2015-10-07 11:42:23 -04:00
logical_passthrough_test.go Add revocation/renewal functions in all cases in the generic backend. 2015-10-07 11:42:23 -04:00
logical_system.go Normalize policy names to lowercase on write. They are not currently 2015-10-07 13:52:21 -04:00
logical_system_helpers.go Switch per-mount values to strings going in and seconds coming out, like other commands. Indicate deprecation of 'lease' in the token backend. 2015-09-25 10:41:21 -04:00
logical_system_test.go Normalize policy names to lowercase on write. They are not currently 2015-10-07 13:52:21 -04:00
mount.go Fix problematic logging statements. 2015-10-02 18:31:46 -07:00
mount_test.go Move more cubby logic outside of router into auth setup 2015-09-15 13:50:37 -04:00
policy.go Fix warnings returned by make vet 2015-09-26 21:17:39 -07:00
policy_store.go Push a lot of logic into Router to make a bunch of it nicer and enable a 2015-09-10 15:09:54 -04:00
policy_store_test.go Fix warnings returned by make vet 2015-09-26 21:17:39 -07:00
policy_test.go vault: Adding precedence logic for conflicting policy 2015-07-05 17:30:19 -06:00
rollback.go vault: cleanups for the audit log changes 2015-06-29 15:27:28 -07:00
rollback_test.go Push a lot of logic into Router to make a bunch of it nicer and enable a 2015-09-10 15:09:54 -04:00
router.go Move more cubby logic outside of router into auth setup 2015-09-15 13:50:37 -04:00
router_test.go Move more cubby logic outside of router into auth setup 2015-09-15 13:50:37 -04:00
testing.go Don't use leases on the generic backend...with a caveat. 2015-09-21 16:37:37 -04:00
token_store.go Add 301 redirect checking to the API client. 2015-10-09 17:11:31 -04:00
token_store_test.go Add renew-self endpoint. 2015-10-07 12:49:13 -04:00
util.go helper/uuid: single generateUUID definition 2015-06-30 12:38:32 -07:00
util_test.go helper/uuid: single generateUUID definition 2015-06-30 12:38:32 -07:00