open-vault/helper
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
..
awsutil Translate AWS Rate limiting errors to 502 errors (#5270) 2018-09-18 15:26:06 -05:00
base62 Request less random data in truncate mode (#5118) 2018-08-17 10:17:40 -07:00
builtinplugins Fix MySQL legacy username regression (#3141) 2017-08-10 18:28:18 -07:00
certutil undo make fmt (#5265) 2018-09-04 09:29:18 -07:00
cidrutil Restrict cert auth by CIDR (#4478) 2018-05-09 15:39:55 -07:00
compressutil Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
consts Sync over some stuff 2018-08-24 12:09:03 -04:00
dbtxn Release database resources on each iteration of a loop (#4305) 2018-04-17 16:31:09 -07:00
dhutil VSI (#4985) 2018-07-24 22:02:27 -04:00
errutil Fix invalid input getting marked as internal error 2016-07-28 16:23:11 -04:00
flag-kv Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
flag-slice
forwarding The big one (#5346) 2018-09-17 23:03:00 -04:00
gated-writer
hclutil Move checkHCLKeys into hclutil (#4749) 2018-06-12 12:38:08 -04:00
identity The big one (#5346) 2018-09-17 23:03:00 -04:00
jsonutil Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
kdf
keysutil Consolidate base62 functions (#5099) 2018-08-14 08:44:30 -07:00
kv-builder Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
ldaputil Add tokenGroups and tokenGroupsGlobalAndUniversal (#4936) 2018-08-13 14:57:10 -07:00
license The big one (#5346) 2018-09-17 23:03:00 -04:00
locksutil Spelling (#4119) 2018-03-20 14:54:10 -04:00
logging Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
mfa Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
mlock Don't say mlock is supported on OSX when it isn't. (#2120) 2016-11-22 12:56:36 -05:00
namespace The big one (#5346) 2018-09-17 23:03:00 -04:00
parseutil Add request timeouts in normal request path and to expirations (#4971) 2018-07-24 14:50:49 -07:00
password Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
pathmanager physical/cache: Add a list of prefixes to not cache (#4515) 2018-05-10 10:29:26 -07:00
pgpkeys Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
pluginutil Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
policies
policyutil Two small items: (#4934) 2018-07-17 01:23:26 -04:00
proxyutil Add an idle timeout for the server (#4760) 2018-06-16 18:21:33 -04:00
reload Clean up error string formatting (#4304) 2018-04-09 14:35:21 -04:00
salt Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
storagepacker Allow most parts of Vault's logging to have its level changed on-the-fly (#5280) 2018-09-05 15:52:54 -04:00
strutil Merge Identity Entities if two claim the same alias (#5075) 2018-08-09 15:37:36 -05:00
testhelpers The big one (#5346) 2018-09-17 23:03:00 -04:00
tlsutil Add option to set cluster TLS cipher suites. (#3228) 2017-08-30 16:28:23 -04:00
useragent Add plugin user-agent helper (#5039) 2018-08-06 09:02:04 -07:00
wrapping go vet fixes 2018-02-05 14:26:31 -05:00
xor Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00