1
0
Fork 0
mirror of https://github.com/Luzifer/vault-totp.git synced 2024-12-23 06:11:19 +00:00
vault-totp/README.md

16 lines
588 B
Markdown
Raw Permalink Normal View History

2017-01-03 12:27:16 +00:00
# Luzifer / vault-totp
`vault-totp` is a OneTimePassword generator working on the same protocol as the Google Authenticator app, just using Vault as its secret backend. This can be used for example if you have MFA tokens you sparely need and you don't want to have your authenticator app on your mobile phone cluttered.
## Usage
```bash
# vault write secret/otp/example secret=JBSWY3DPEHPK3PXP
Success! Data written to: secret/otp/example
# vault-totp secret/otp/example
058805 (Valid 11s)
```
For more options like `-1` (one-time print) or `-n` (hide time) see `vault-totp --help`.