open-vault/vault
Calvin Leung Huang 25792df5a9
Passthrough request headers (#4172)
* Add passthrough request headers for secret/auth mounts

* Update comments

* Fix SyncCache deletion of passthrough_request_headers

* Remove debug line

* Case-insensitive header comparison

* Remove unnecessary allocation

* Short-circuit filteredPassthroughHeaders if there's nothing to filter

* Add whitelistedHeaders list

* Update router logic after merge

* Add whitelist test

* Add lowercase x-vault-kv-client to whitelist

* Add back const

* Refactor whitelist logic
2018-03-21 19:56:47 -04:00
..
acl.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
acl_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
audit.go Non-HMAC audit values (#4033) 2018-03-02 12:18:39 -05:00
audit_broker.go Add context to the NewSalt function (#4102) 2018-03-08 11:21:11 -08:00
audit_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
audited_headers.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
audited_headers_test.go Add context to the NewSalt function (#4102) 2018-03-08 11:21:11 -08:00
auth.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
auth_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
barrier.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
barrier_access.go Fix compile 2018-01-19 05:31:55 -05:00
barrier_aes_gcm.go Fix compile 2018-01-19 05:31:55 -05:00
barrier_aes_gcm_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
barrier_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
barrier_view.go Make mount view read only until after mount persist (#3910) 2018-02-09 14:04:25 -05:00
barrier_view_test.go Make mount view read only until after mount persist (#3910) 2018-02-09 14:04:25 -05:00
capabilities.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
capabilities_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
cluster.go Move local cluster parameters to atomic values to fix some potential data races (#4036) 2018-02-23 14:47:07 -05:00
cluster_test.go Port some replicated cluster changes from ent (#4037) 2018-02-23 14:01:15 -05:00
core.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
core_test.go Passthrough request headers (#4172) 2018-03-21 19:56:47 -04:00
cors.go command/kv: Add a "kv" subcommand for using the key-value store (#4168) 2018-03-21 15:02:41 -07:00
dynamic_system_view.go Add a sysview call to determine if a mount is local. (#3899) 2018-02-02 18:17:12 -05:00
expiration.go Log revocations in revokeCommon rather than expireID (#4164) 2018-03-20 11:46:27 -04:00
expiration_integ_test.go Don't call LeaseExtend on login renewal paths when period is provided (#3803) 2018-01-18 12:19:18 -05:00
expiration_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
generate_root.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
generate_root_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
identity_lookup.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
identity_lookup_test.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store.go AppRole/Identity: Fix for race when creating an entity during login (#3932) 2018-02-09 10:40:56 -05:00
identity_store_aliases.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store_aliases_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
identity_store_entities.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store_entities_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
identity_store_group_aliases.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store_group_aliases_test.go Delete group alias upon group deletion (#3773) 2018-01-11 10:58:05 -05:00
identity_store_groups.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store_groups_test.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store_schema.go External identity groups (#3447) 2017-11-02 16:05:48 -04:00
identity_store_structs.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
identity_store_test.go AppRole/Identity: Fix for race when creating an entity during login (#3932) 2018-02-09 10:40:56 -05:00
identity_store_upgrade.go Pass context to backends (#3750) 2018-01-08 10:31:38 -08:00
identity_store_util.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
init.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
init_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
keyring.go Added JSON Decode and Encode helpers. 2016-07-06 12:25:40 -04:00
keyring_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_cubbyhole.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_cubbyhole_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
logical_passthrough.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_passthrough_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
logical_system.go Passthrough request headers (#4172) 2018-03-21 19:56:47 -04:00
logical_system_helpers.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
logical_system_integ_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
logical_system_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
mount.go Passthrough request headers (#4172) 2018-03-21 19:56:47 -04:00
mount_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
plugin_catalog.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
plugin_catalog_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
plugin_reload.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
policy.go Add ability to require parameters in ACLs (#3510) 2017-11-02 07:18:49 -04:00
policy_store.go Add core object to policy store for some ent uses 2018-02-23 14:00:46 -05:00
policy_store_test.go Add core object to policy store for some ent uses 2018-02-23 14:00:46 -05:00
policy_test.go Add ability to require parameters in ACLs (#3510) 2017-11-02 07:18:49 -04:00
rekey.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
rekey_test.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
request_forwarding.go Port some replicated cluster changes from ent (#4037) 2018-02-23 14:01:15 -05:00
request_forwarding_service.pb.go Add replication state to EchoReply (#3810) 2018-01-17 22:17:47 -05:00
request_forwarding_service.proto Add replication state to EchoReply (#3810) 2018-01-17 22:17:47 -05:00
request_handling.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
request_handling_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
rollback.go Don't run rollback and upgrade functionality if we are a replication secondary (#3900) 2018-02-02 20:28:25 -05:00
rollback_test.go Update plugin deps to include context changes (#3765) 2018-01-08 12:26:13 -08:00
router.go Passthrough request headers (#4172) 2018-03-21 19:56:47 -04:00
router_access.go Sync 2017-10-23 15:35:28 -04:00
router_test.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
seal.go Use atomic values in seal to avoid some data races (#4040) 2018-02-23 17:18:48 -05:00
seal_access.go Remove context from a few extraneous places 2018-01-19 03:44:06 -05:00
seal_test.go Use atomic values in seal to avoid some data races (#4040) 2018-02-23 17:18:48 -05:00
seal_testing.go Use atomic values in seal to avoid some data races (#4040) 2018-02-23 17:18:48 -05:00
sealunwrapper.go Add sealunwrapper to ease OSS downgrades (#3936) 2018-02-09 16:37:40 -05:00
sealunwrapper_test.go Add sealunwrapper to ease OSS downgrades (#3936) 2018-02-09 16:37:40 -05:00
testing.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
token_store.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
token_store_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
util.go Removed unused methods 2017-01-03 12:51:35 -05:00
util_test.go Utility Enhancements 2016-04-05 20:32:59 -04:00
wrapping.go Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00