diff --git a/auth/detect/internal/externalaccount/aws_provider.go b/auth/detect/internal/externalaccount/aws_provider.go index e8cd1d017f6..9fa86e6303d 100644 --- a/auth/detect/internal/externalaccount/aws_provider.go +++ b/auth/detect/internal/externalaccount/aws_provider.go @@ -279,7 +279,6 @@ func (cs *awsSubjectProvider) getMetadataSecurityCredentials(ctx context.Context if err != nil { return result, err } - req.Header.Set("Content-Type", "application/json") for name, value := range headers { req.Header.Add(name, value) }