This script helps generate AWS MFA credentials using OTP code stored in 1Password. It can be used in setups where you have a single AWS main account with multiple roles for other accounts and you want to use one MFA for all of them.
- 1Password CLI with
opcommand installed and configured; AWS MFA secret stored in 1Password - AWS CLI installed and configured