open-vault/http
Clint 5882156f53
Translate AWS Rate limiting errors to 502 errors (#5270)
* Initial implemntation of returning 529 for rate limits

- bump aws iam and sts packages to v1.14.31 to get mocking interface
- promote the iam and sts clients to the aws backend struct, for mocking in tests
- this also promotes some functions to methods on the Backend struct, so
  that we can use the injected client

Generating creds requires reading config/root for credentials to contact
IAM. Here we make pathConfigRoot a method on aws/backend so we can clear
the clients on successful update of config/root path. Adds a mutex to
safely clear the clients

* refactor locking and unlocking into methods on *backend

* refactor/simply the locking

* check client after grabbing lock
2018-09-18 15:26:06 -05:00
..
auth_token_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
cors.go Fix nil pointer 2018-06-09 16:57:57 -04:00
forwarded_for_test.go Allow max request size to be user-specified (#4824) 2018-07-06 15:44:56 -04:00
forwarding_bench_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
forwarding_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
handler.go Translate AWS Rate limiting errors to 502 errors (#5270) 2018-09-18 15:26:06 -05:00
handler_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
help.go The big one (#5346) 2018-09-17 23:03:00 -04:00
help_test.go
http_test.go Unauthenticated endpoint to list secret and auth mounts (#4134) 2018-03-19 23:16:33 -04:00
logical.go The big one (#5346) 2018-09-17 23:03:00 -04:00
logical_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
plugin_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
stub_assets.go OSS: Adding UI handlers and configurable headers (#390) 2018-04-03 09:34:01 -05:00
sys_audit_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_auth_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_config_cors_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_generate_root.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_generate_root_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_health.go Fix http tests (#5195) 2018-08-27 15:13:41 -07:00
sys_health_test.go Fix http tests (#5195) 2018-08-27 15:13:41 -07:00
sys_init.go Re-add lost stored-shares parameter to operator rekey command. (#3974) 2018-02-14 16:10:45 -05:00
sys_init_test.go Tackle #4929 a different way (#4932) 2018-07-24 13:57:25 -07:00
sys_internal_test.go Kv preflight (#4430) 2018-04-23 15:00:02 -07:00
sys_leader.go Add performance standby status to status output (#5192) 2018-08-27 10:01:07 -07:00
sys_leader_test.go Add performance standby status to status output (#5192) 2018-08-27 10:01:07 -07:00
sys_lease_test.go Exclude /sys/leases/renew from registering with expiration manager (#2891) 2017-06-20 12:34:00 -04:00
sys_mount_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_mounts_test.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
sys_policy_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_rekey.go Fix tests 2018-05-29 17:02:52 -04:00
sys_rekey_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_rotate_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_seal.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_seal_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_wrapping_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
testing.go Pass in an ErrorLog to http.Server (#5135) 2018-08-21 11:23:18 -04:00
unwrapping_raw_body_test.go Fix response wrapping from K/V version 2 (#4511) 2018-05-10 15:40:03 -04:00
util.go The big one (#5346) 2018-09-17 23:03:00 -04:00