OKTA MFA with the AWS CLI using aws_okta_keyman

I recently started using the aws_okta_keyman utility created by nathan-v to authenticate using Okta MFA when using the AWS CLI on some AWS accounts. This is a very handy tool that will authenticate, handle the push notification, and configure credentials for CLI use.

One major problem with this utility is that it will over-write your ~/.aws/credentials file. While it retains all credentials that are not commented out, if you have anything that you may want saved, or comments, or other, be sure to back it up. This is a serious flaw in the utility for individuals who may have added information or other keys or credentials to this file that they value or want saved.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *