Skip to content
New issue

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

U2F MFA doesn't work with AssumeRole #1567

Open
dgouldin opened this issue Sep 26, 2018 · 1 comment
Open

U2F MFA doesn't work with AssumeRole #1567

dgouldin opened this issue Sep 26, 2018 · 1 comment
Labels
feature-request This issue requests a feature. p2 This is a standard priority issue

Comments

@dgouldin
Copy link

I just switched my IAM user's MFA device to U2F, and when trying to assume a role that requires MFA, I now get a validation error when using my U2F device:

botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the AssumeRole operation: 2 validation errors detected: Value '[redacted]' at 'tokenCode' failed to satisfy constraint: Member must satisfy regular expression pattern: [\d]*; Value '[redacted]' at 'tokenCode' failed to satisfy constraint: Member must have length less than or equal to 6

It looks as though there's validation that tokenCode is a 6 digit number.

@JordonPhillips
Copy link
Contributor

Looks like U2F isn't supported for API access yet:

You cannot use MFA-protected API access with U2F security keys.

Similar request in aws/aws-cli#3607

I've passed on this very quick outpouring of desire for the feature to the service team.

@JordonPhillips JordonPhillips added the feature-request This issue requests a feature. label Sep 26, 2018
@RyanFitzSimmonsAK RyanFitzSimmonsAK added the p2 This is a standard priority issue label Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request This issue requests a feature. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

3 participants