open-vault/builtin/logical
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
..
aws Translate AWS Rate limiting errors to 502 errors (#5270) 2018-09-18 15:26:06 -05:00
cassandra Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
consul Fix build 2018-06-11 11:21:37 -04:00
database The big one (#5346) 2018-09-17 23:03:00 -04:00
mongodb Clean up error string formatting (#4304) 2018-04-09 14:35:21 -04:00
mssql Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
mysql Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
nomad [WIP] Support custom max Nomad token name length [supersedes https://github.com/hashicorp/vault/pull/4361] (#5117) 2018-08-16 15:48:23 -04:00
pki Fix approle tidy on performance standbys (#5338) 2018-09-17 09:53:23 -07:00
postgresql Clean up container on connection failure, switch to ory/dockertest on package postgresql (#5050) 2018-08-07 09:56:33 -07:00
rabbitmq Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
ssh Use locking to avoid parallel script execution (#4358) 2018-04-23 18:04:22 -04:00
totp Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
transit Redo transit locking (#4720) 2018-06-12 12:24:12 -04:00