CmdID

CmdID / Commands

pass-otp

A pass extension for managing one-time-password (OTP) tokens. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Prompt for an otpauth URI token and create a new pass file

pass otp insert path/to/passIdentify

Prompt for an otpauth URI token and append to an existing pass file

pass otp append path/to/passIdentify

Print a 2FA code using the OTP token in a pass file

pass otp path/to/passIdentify

Copy and don't print a 2FA code using the OTP token in a pass file

pass otp --clip path/to/passIdentify

Display a QR code using the OTP token stored in a pass file

pass otp uri --qrcode path/to/passIdentify

Prompt 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/passIdentify