
t5vid (t5vid) asked a question.
When I use this command `okta-awscli --profile infra-temp --okta-profile infra-temp` I am prompted for a username, password and twice to authenticate with Okta Verify on my phone. To make things easier I added my username, password and `factor = OKTA` in my ~/.okta-aws config file. Sweet. However it still prompts with this:
ms@mma eng-infrastructure % okta-awscli --profile infra-temp --okta-profile infra-temp
Waiting for push verification...
Multi-factor Authentication required for application.
Pick a factor:
[ 0 ] Okta Verify App: SmartPhone_IPhone: Marc’s 12 Mini
[ 1 ] token:software:totp( OKTA ) : Ma...d@a...s.com
Selection: 0
ms@mma eng-infrastructure %
So I eliminated one ask about where to authentcate with the `factor = OKTA` setting. Why does it prompt twice and how can I configure it to use Okta Verify the second time without asking me?

Hi, @t5vid (t5vid)
Thank you for posting on our Community page!
Here are two previously answered questions on your use case:
https://github.com/Nike-Inc/gimme-aws-creds/issues/150
https://repost.aws/knowledge-center/mfa-iam-user-aws-cli
Thank you for reaching out to our Community and have a great day!
_____________________________________________________________________________
Ask Away: OIG Product Experts Answer Your Questions Thru Thur., Dec 14
_____________________________________________________________________________
Community members help others by clicking Like or Select as Best on responses. Try it today.
_____________________________________________________________________________