open-vault/vendor/github.com/aws/aws-sdk-go/service/sts
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
..
stsiface Translate AWS Rate limiting errors to 502 errors (#5270) 2018-09-18 15:26:06 -05:00
api.go Translate AWS Rate limiting errors to 502 errors (#5270) 2018-09-18 15:26:06 -05:00
customizations.go Migrate to built-in Go vendoring. 2016-02-18 15:06:02 -05:00
doc.go Bump deps 2017-11-07 11:57:05 -05:00
errors.go Bump deps 2017-04-17 11:17:06 -04:00
service.go Bump Deps (#4868) 2018-07-06 12:09:34 -04:00