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

Commit

Permalink
Updated to include increase verbosity on credential chain errors. (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmix authored and pingles committed Jul 1, 2019
1 parent a5d932f commit 419eaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/aws/sts/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 419eaed

Please sign in to comment.