I could compute MFA code for my AWS account by that Java sample code.
Question: Did you rewrite the sample source code at "2FA secret key" row with your own MFA secret key?
See also: gist.github.com/jsakamoto/54f77ae1...
You should capture the MFA secret key of your AWS account in an enabling MFA steps.
In this sample case above, the sample code should be bellow.
String otpKeyStr = "B7NLNKSUKGDLE3P5TCF6X2VCA6UWEK7IPPO4BNMQMF4S4TICWTIX76SVXNXCGTBT"; // <- this 2FA secret key.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I could compute MFA code for my AWS account by that Java sample code.
Question: Did you rewrite the sample source code at "2FA secret key" row with your own MFA secret key?
See also: gist.github.com/jsakamoto/54f77ae1...
You should capture the MFA secret key of your AWS account in an enabling MFA steps.
In this sample case above, the sample code should be bellow.