broamski / aws-mfa

Manage AWS MFA Security Credentials
MIT License
1.01k stars 163 forks source link

Support setting the suffixes via environment variables. #81

Open choilive opened 1 year ago

choilive commented 1 year ago

If the user wants to consistently use a different convention for the two suffixes, it is a bit inconvenient to set them each time a user wants to generate updated credentials.

As such, I propose being able to configure both suffixes via the environment variables MFA_LONG_TERM_SUFFIX and MFA_SHORT_TERM_SUFFIX.