mirror of
https://github.com/Luzifer/vault-totp.git
synced 2024-12-22 22:01:19 +00:00
Add README
This commit is contained in:
parent
c05d1ddcc6
commit
f69a9c5c63
1 changed files with 15 additions and 0 deletions
15
README.md
Normal file
15
README.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# 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`.
|
Loading…
Reference in a new issue