5882156f53
* 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 |
||
---|---|---|
.. | ||
framework | ||
plugin | ||
testing | ||
auth.go | ||
connection.go | ||
error.go | ||
identity.pb.go | ||
identity.proto | ||
lease.go | ||
lease_test.go | ||
logical.go | ||
plugin.pb.go | ||
plugin.proto | ||
request.go | ||
request_util.go | ||
response.go | ||
response_util.go | ||
response_util_test.go | ||
secret.go | ||
storage.go | ||
storage_inmem.go | ||
storage_inmem_test.go | ||
system_view.go | ||
testing.go | ||
token.go | ||
translate_response.go |