1
0
mirror of https://github.com/Luzifer/vault-otp-ui.git synced 2024-09-19 17:13:00 +00:00

Document digits field

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-08-30 19:50:57 +02:00
parent 7b27c9c272
commit 426bf869cf
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -12,9 +12,10 @@
Two different methods are supported to store the secrets in Vault: Two different methods are supported to store the secrets in Vault:
- Vault 0.7.x included [TOTP backend](https://www.vaultproject.io/docs/secrets/totp/index.html) - Vault 0.7.x included [TOTP backend](https://www.vaultproject.io/docs/secrets/totp/index.html)
- Custom (generic) secrets containing `secret`, `name`, and `icon` keys - Custom (generic) secrets containing `secret`, `name`, `digits`, and `icon` keys
- Icons supported are to be chosen from [FontAwesome](http://fontawesome.io/) icon set - Icons supported are to be chosen from [FontAwesome](http://fontawesome.io/) icon set
- When no `name` is set the Vault key will be used as a name - When no `name` is set the Vault key will be used as a name
- The `digits` field supports the values `6` (default) and `8` to generate longer 8-digit-codes
(When using the Vault builtin TOTP backend switching the icons for the tokens is not supported.) (When using the Vault builtin TOTP backend switching the icons for the tokens is not supported.)