Options (5)
-c, --clipbooleanCopy and don't print a 2FA code using the OTP token in a pass file
pass otp {{[-c|--clip]}} {{path/to/pass}}-q, --qrcodebooleanDisplay a QR code using the OTP token stored in a pass file
pass otp uri {{[-q|--qrcode]}} {{path/to/pass}}-s, --secretbooleanPrompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file
pass otp append {{[-s|--secret]}} {{[-i|--issuer]}} {{issuer_name}} {{[-a|--account]}} {{account_name}} {{path/to/pass}}-i, --issuerbooleanPrompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file
pass otp append {{[-s|--secret]}} {{[-i|--issuer]}} {{issuer_name}} {{[-a|--account]}} {{account_name}} {{path/to/pass}}-a, --accountbooleanPrompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file
pass otp append {{[-s|--secret]}} {{[-i|--issuer]}} {{issuer_name}} {{[-a|--account]}} {{account_name}} {{path/to/pass}}Examples (6)
Prompt for an otpauth URI token and create a new pass file
pass otp insert path/to/passPrompt for an otpauth URI token and append to an existing pass file
pass otp append path/to/passPrint a 2FA code using the OTP token in a pass file
pass otp path/to/passCopy and don't print a 2FA code using the OTP token in a pass file
pass otp [-c|--clip] path/to/passDisplay a QR code using the OTP token stored in a pass file
pass otp uri [-q|--qrcode] path/to/passPrompt for an OTP secret value specifying issuer and account (at least one must be specified) and append to existing pass file
pass otp append [-s|--secret] [-i|--issuer] issuer_name [-a|--account] account_name path/to/pass