Imports github.com/docker/distribution/context github.com/docker/distribution/registry/storage/driver github.com/aws/aws-sdk-go/service/cloudfront/sign github.com/docker/distribution/registry/storage/driver/middleware Standard library imports crypto/x509 encoding/pem fmt io/ioutil net/url strings time