miquella / vaulted

Spawning and storage of secure environments
MIT License
253 stars 30 forks source link

Re-prompt for MFA when invalid #150

Closed miquella closed 5 years ago

miquella commented 5 years ago

According to the AWS STS documentation, the TokenCode parameter must be exactly 6 characters and match: [\d]*

See: AssumeRole documentation GetSessionToken documentation

Fixes #145