Nike-Inc / gimme-aws-creds

A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials
Apache License 2.0
925 stars 263 forks source link

feat: add email option for mfa #406

Closed elishagreenwald closed 1 year ago

elishagreenwald commented 1 year ago

This PR adds an option to use email as a factor for MFA

Description

Currently, email isn't supported as a factor for MFA. This PR adds email as a factor. Its pretty much the same as sms coding wise and I just had to make a few changes. I added tests as well.

Related Issue

https://github.com/Nike-Inc/gimme-aws-creds/issues/394

Motivation and Context

I use email for MFA.

How Has This Been Tested?

I tested locally

Screenshots (if appropriate):

Types of changes

Checklist: