totp_code
Generate time-based one-time passwords (TOTP) for 2FA accounts from a shared secret. Runs locally via RFC 6238, so the secret never leaves your machine.
Instructions
Compute the authenticator code for an account whose second factor was set up with a shared secret. Runs locally by RFC 6238: the secret never leaves this machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| digits | No | ||
| period | No | ||
| secret | Yes | Base32 secret shown when 2FA was enabled | |
| algorithm | No | sha1 |