DEV Community

Dev Power
Dev Power

Posted on

1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more