ykman oath accounts add <NAME> [SECRET]
Add a new account
Arguments
Name | Description |
---|---|
NAME | Human readable name of the account, such as a username or e-mail address |
SECRET | Base32-encoded secret/key value provided by the server |
Options
Name | Description |
---|---|
-o, --oath-type <oath type> | Time-based (TOTP) or counter-based (HOTP) account |
-d, --digits <number of digits> | Number of digits in generated code |
-a, --algorithm <algorithm> | Algorithm to use for code generation |
-c, --counter <INTEGER> | Initial counter value for HOTP accounts |
-i, --issuer <TEXT> | Issuer of the account |
-P, --period <INTEGER> | Number of seconds a TOTP code is valid |
-t, --touch | Require touch on YubiKey to generate code |
-f, --force |
|
-p, --password <TEXT> | Provide a password to unlock the YubiKey |
-r, --remember | Remember the password on this machine |
-h, --help | Show oath accounts add usage information |