mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
pass-otp: add page (#4232)
This commit is contained in:
parent
94ca638976
commit
0886200ed9
1 changed files with 28 additions and 0 deletions
28
pages/common/pass-otp.md
Normal file
28
pages/common/pass-otp.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# pass-otp
|
||||
|
||||
> A pass extension for managing one-time-password (OTP) tokens.
|
||||
> More information: <https://github.com/tadfisher/pass-otp#readme>.
|
||||
|
||||
- Prompt for an otpauth URI token and create a new pass file:
|
||||
|
||||
`pass otp insert {{path/to/pass}}`
|
||||
|
||||
- Promt for an otpauth URI token and append to an existing pass file:
|
||||
|
||||
`pass otp append {{path/to/pass}}`
|
||||
|
||||
- Print a 2FA code using the OTP token in a pass file:
|
||||
|
||||
`pass otp {{path/to/pass}}`
|
||||
|
||||
- Copy and don't print a 2FA code using the OTP token in a pass file:
|
||||
|
||||
`pass otp --clip {{path/to/pass}}`
|
||||
|
||||
- Display a QR code using the OTP token stored in a pass file:
|
||||
|
||||
`pass otp uri --qrcode {{path/to/pass}}`
|
||||
|
||||
- Promt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file:
|
||||
|
||||
`pass otp append --secret --issuer {{issuer_name}} --account {{account_name}} {{path/to/pass}}`
|
Loading…
Add table
Reference in a new issue