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:

https://cloudinternals.net/aws/how-to-use-mfa-with-aws-cli-using-yubikey/

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)