Generate OTP Codes from MFA seeds. Inspired from Managing AWS Root Passwords & MFA
pipenv install .
Follow the steps on the article above in setting up a virtual device for MFA on the AWS root user. Once you have the MFA seed, you can use it below:
export MFA_SEED="123495Ad3"
./get_mfa_code.py $MFA_SEED