Closed martina-if closed 4 years ago
closes #36
When using a session duration of less than 900 seconds aws-mfa prints a misleading error message "Token must be six digits".
This PR prints the actual error. In the case of an invalid duration it will print the following:
INFO - Fetching Credentials - Profile: <profile>, Duration: 800 ERROR - Parameter validation failed: Invalid range for parameter DurationSeconds, value: 800, valid range: 900-inf
@broamski can you take a look please? :)
Can this be merged? The issue is still present 4 years later. :D
closes #36
When using a session duration of less than 900 seconds aws-mfa prints a misleading error message "Token must be six digits".
This PR prints the actual error. In the case of an invalid duration it will print the following: