Skip to content

Commit 7bcf5af

Browse files
committed
fixing the sts for profile
1 parent 53281d8 commit 7bcf5af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ func (cli *Console) Credentials(profile string) (credentials.Value, string, erro
8686
if profile != "" {
8787
sess = session.Must(session.NewSessionWithOptions(session.Options{
8888
Profile: profile,
89+
// according to some otherwise unrelated Github Issue
90+
SharedConfigState: session.SharedConfigEnable,
8991
}))
9092
} else {
9193
sess = session.Must(session.NewSessionWithOptions(session.Options{

0 commit comments

Comments
 (0)