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

Error on Windows: minimum field size of 9, GetSessionTokenInput.SerialNumber #13

Open
remal opened this issue Jan 19, 2022 · 0 comments

Comments

@remal
Copy link

remal commented Jan 19, 2022

I'm trying to use mfaws and getting this error:

InvalidParameter: 1 validation error(s) found.
- minimum field size of 9, GetSessionTokenInput.SerialNumber

 

Steps to reproduce:

  1. Download the latest release for Windows
  2. Configure ~/.aws/config:
[default]
region = eu-central-1
output = json
  1. Configure ~/.aws/credentials:
[default-long-term]
aws_access_key_id = XXXXXXXXXXXXXXXXXXXX
aws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  1. Run mfaws: mfaws -p default
  2. Enter MFA code from device
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

No branches or pull requests

1 participant