We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to do:
aws-mfa --one-time-pass 123456
Is this possible?
The text was updated successfully, but these errors were encountered:
That would be super useful for scripting login to AWS with passwords managers. Using an environment variable would be ok as well.
For now you could always grab the TOTP to clipboard and paste it when aws-mfa ask: e.g. with 1password cli:
awsmfa='op item get q4myjst4inexxxx6dmyr2ey --field type=otp --format json | jq -r .totp | pbcopy && aws-mfa --profile prod --force'
Sorry, something went wrong.
I just noticed that this functionality was actually implemented by 5334deb four years ago (2018-05-15) but never released.
This makes it very simple to use aws-mfa together with 1Password-CLI:
aws-mfa --force --token $(op item get <item id> --otp)
@broamski Could you release a 0.0.13 please?
Maybe AgileBits wants to update https://blog.1password.com/1password-cli-2_0/ then in order to enhance security by using aws-mfa! ;-)
No branches or pull requests
I would like to do:
Is this possible?
The text was updated successfully, but these errors were encountered: