jorgebastida / jorgebastida/aws2fa
AWS2FA issue on authentication
- Dominant language
- Python
- Stars
- 16
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Version: 0.0.3
Python: 3.8.5 (default, Jan 27 2021, 15:41:15)
[GCC 9.3.0]
boto3 version: 1.17.68
Platform: Linux-4.4.0-19041-Microsoft-x86_64-with-glibc2.29
Config: {'profile': 'default', 'hours': 12, 'aws_access_key_id': 'SENSITIVE', 'aws_secret_access_key': 'SENSITIVE', 'aws_session_token': 'SENSITIVE', 'aws_profile': 'SENSITIVE'}
Args: ['/usr/local/bin/aws2fa']
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/aws2fa/bin.py", line 35, in main
aws2fa.run()
File "/usr/local/lib/python3.8/dist-packages/aws2fa/core.py", line 163, in run
profile_session_token = self._get_profile_session_token()
File "/usr/local/lib/python3.8/dist-packages/aws2fa/core.py", line 150, in _get_profile_session_token
return self.client.get_session_token(
File "/usr/local/lib/python3.8/dist-packages/botocore/client.py", line 357, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/local/lib/python3.8/dist-packages/botocore/client.py", line 648, in _make_api_call
request_dict = self._convert_to_request_dict(
File "/usr/local/lib/python3.8/dist-packages/botocore/client.py", line 696, in _convert_to_request_dict
request_dict = self._serializer.serialize_to_request(
File "/usr/local/lib/python3.8/dist-packages/botocore/validate.py", line 293, in serialize_to_request
raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid length for parameter SerialNumber, value: 6, valid min length: 9
================================================================================
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.