AWS Assume Role OTP allows you to assume a role on AWS at the same time it generates the MFA token.
pip install aws-assume-role-otp
aws-assume-role-otp
aws-assume-role-otp --add-role
aws-assume-role-otp --remove-role
The first time you run this tool, it will ask you to inform:
- AWS Access Key ID
- AWS Secret Access Key
- Serial MFA Secret. How to register device
- MFA ARN
- Roles and profiles
pip install build
python -m build
pip install dist/aws_assume_role_otp-0.3-py3-none-any.whl
pip install twine
python -m twine upload dist/*
- Allow to add or remove roles