DEV Community

Dev Power
Dev Power

Posted on


How to use MFA with AWS CLI using Yubikey

How to use MFA with AWS CLI using Yubikey

While resetting my IAM keys, I realized I had all those powerful keys lying in plaintext in the credentials file.

Even though it requires access to my laptop, I wanted to have some extra security. As a big fan of MFA, I decided to enforce MFA with Yubikey while using CLI.

Here's the full article and step-by-step guide:

You will need to have a Yubikey to be able to follow the article, though.

I hope it helps others as well.

Top comments (0)

DEV The only reason people scroll to the bottom... 
is because they want to read more.

Sign up for an account to bookmark, comment, and react to articles that interest you.