diff --git a/pkg/storage/cloudimpl/external_storage.go b/pkg/storage/cloudimpl/external_storage.go index c836c7fb1631..67af560c98bd 100644 --- a/pkg/storage/cloudimpl/external_storage.go +++ b/pkg/storage/cloudimpl/external_storage.go @@ -362,7 +362,7 @@ func AccessIsWithExplicitAuth(path string) (bool, string, error) { switch uri.Scheme { case "s3": auth := uri.Query().Get(AuthParam) - hasExplicitAuth = auth == AuthParamSpecified + hasExplicitAuth = auth == AuthParamSpecified || auth == "" // If a custom endpoint has been specified in the S3 URI then this is no // longer an explicit AUTH.