distribution/registry/storage/driver
Andrew Bulford 9690d843fa Support ECS TaskRole in S3 storage driver
Instead of constructing the list of credential providers manually, if we
use the default list we can take advantage of the AWS SDK checking the
environment and returning either the EC2RoleProvider or the generic HTTP
credentials provider, configured to use the ECS credentials endpoint.

Also, use the `defaults.Config()` function instead of `aws.NewConfig()`,
as this results in an initialised HTTP client which prevents a fatal
error when retrieving credentials from the ECS credentials endpoint.

Fixes #2960

Signed-off-by: Andrew Bulford <andrew.bulford@redmatter.com>
2020-07-01 08:42:56 +01:00
..
azure Fix gometalint errors 2019-02-04 16:01:04 -08:00
base Add regulator to GCS 2018-09-05 15:48:30 -07:00
factory Add documentation for how to register new StorageDrivers 2016-03-29 14:42:19 -07:00
filesystem Migrate to golangci-lint 2020-02-14 08:11:16 +11:00
gcs Fix err shadowing in gcs driver 2020-03-18 11:41:34 +01:00
inmemory Fix gometalint errors 2019-02-04 16:01:04 -08:00
middleware Merge pull request #2272 from naveedjamil/fips 2020-02-22 17:40:41 -08:00
oss Support BYOK for OSS storage driver 2018-12-25 08:30:40 +08:00
s3-aws Support ECS TaskRole in S3 storage driver 2020-07-01 08:42:56 +01:00
swift swift: correct segment path generation 2019-06-22 23:44:43 -07:00
testdriver context: remove definition of Context 2017-08-11 15:53:31 -07:00
testsuites Increase Unit Test Code Coverage 2020-02-22 17:09:00 -08:00
fileinfo.go Move storagedriver package to registry/storage/driver 2015-02-11 12:43:04 -08:00
storagedriver.go Introduce Walk Method Per Storage Driver 2018-01-07 22:45:17 -08:00
walk_test.go Ignore missing paths during enumeration 2018-09-05 10:17:08 -07:00
walk.go Ignore missing paths during enumeration 2018-09-05 10:17:08 -07:00