Generate MFA authenticated credentials for AWS CLI (and a script to automate this task)
In my previous post Securing AWS Infrastructure using MFA, we discussed how we can enforce MFA authentication on AWS Console and AWS CLI, so that users cannot access any AWS resource until they use MFA authenticated credentials.
A quick recap for AWS...
blog.gurjot.dev4 min read
Andrea Cavagna
I'm chasing perfection
Check out Leapp: It manages MFA and automatically rotates credentials, also manages Cross-account roles from MFA automatically rotated: