Skip to content

Conversation

@mmrwoods
Copy link
Contributor

When multiple MFA devices found, ask user to choose which to use. Previously the first was used, and no info about the device was shown.

The enquiries package was chosen for the prompt because it is simple. Normally I use inquirer for these things, but it seemed overkill here.

When multiple MFA devices found, ask user to choose which to use.
Previously the first was used, and no info about the device was shown.

The enquiries package was chosen for the prompt because it is simple.
Normally I use inquirer for these things, but it seemed overkill here.
@mmrwoods mmrwoods force-pushed the feature/prompt-when-multiple-mfa-devices branch from 1e814a9 to 64e9d04 Compare October 10, 2025 11:34
Switch from enquiries package to questionary, which works on Windows
@mmrwoods mmrwoods marked this pull request as draft October 11, 2025 08:02
Fixes use of `eval $(awsmfa --env)` when user has multiple devices
@mmrwoods mmrwoods marked this pull request as ready for review October 11, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant