assume-role-cli
assume-role-cli copied to clipboard
Open /dev/tty instead of stdin for reading code
Previously, we were opening stdin for reading the MFA code. However, this causes an issue when we want to use stdin for something else, e.g. as a git helper (see #4).
Instead, we open the current terminal at /dev/tty.
Fixes #4.