diff --git a/pkg/aws/sts/gateway.go b/pkg/aws/sts/gateway.go index d5f34fc4..be49e681 100644 --- a/pkg/aws/sts/gateway.go +++ b/pkg/aws/sts/gateway.go @@ -81,7 +81,7 @@ type DefaultSTSGateway struct { } func DefaultGateway(assumeRoleArn, region string) (*DefaultSTSGateway, error) { - config := aws.NewConfig() + config := aws.NewConfig().WithCredentialsChainVerboseErrors(true) if assumeRoleArn != "" { config.WithCredentials(stscreds.NewCredentials(session.Must(session.NewSession()), assumeRoleArn)) }