mfaws icon indicating copy to clipboard operation
mfaws copied to clipboard

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

Open remal opened this issue 3 years ago • 0 comments

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

remal avatar Jan 19 '22 12:01 remal