How to setup Vault as an authenticator app for 2FA?

HI All,

So I went through the vault docs and I understand that we can use Vault as a TOTP engine to generate QR codes and 2FA secrets which then can be ingested by authenticator apps like Google Authenticator/Microsoft Authenticator.

But I wanted to know if we can use Vault as an authenticator app similar to Google Authenticator/Microsoft Authenticator. Can we?

I did not find any docs to support this assumption. Kindly guide me here.


Hi @sekharroutray,

Is this what you’re after? TOTP - Secrets Engines | Vault | HashiCorp Developer
Specifically the “Generator” part.


1 Like

@jeffsanicola Thanks. You are correct. Will check it out.