Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Commit 419eaed

Browse files
mwmixpingles
authored andcommitted
Updated to include increase verbosity on credential chain errors. (#257)
1 parent a5d932f commit 419eaed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/aws/sts/gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type DefaultSTSGateway struct {
8181
}
8282

8383
func DefaultGateway(assumeRoleArn, region string) (*DefaultSTSGateway, error) {
84-
config := aws.NewConfig()
84+
config := aws.NewConfig().WithCredentialsChainVerboseErrors(true)
8585
if assumeRoleArn != "" {
8686
config.WithCredentials(stscreds.NewCredentials(session.Must(session.NewSession()), assumeRoleArn))
8787
}

0 commit comments

Comments
 (0)