Skip to content

Commit

Permalink
Print out config before quering for MFA code or logging in
Browse files Browse the repository at this point in the history
halprin committed Nov 5, 2024
1 parent 51b924b commit 8ecc81a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions login/login.go
Original file line number Diff line number Diff line change
@@ -27,6 +27,8 @@ func GetTokenAndSave(mfaDeviceArn string, profile string, mfaCode string, durati
return err
}

fmt.Printf("Logging into AWS for profile %s for %d seconds using MFA device %s\n", profile, duration, mfaDeviceArn)

mfaCode, err = getMfaCodeUnlessSpecified(mfaCode)

stsService := aws.StsService{

0 comments on commit 8ecc81a

Please sign in to comment.