Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
5 years ago[12] How do I obtain a totp value
Hello everyone,
I have a script which obtains a TOTP - value like that:
op get totp "my item name"
How do I do this with op2?
Best regards,
Micha
1Password Version: 2.0.0-beta....
ramblingpolak
4 years agoOccasional Contributor
I'll I liked the simplicity of the get totp command but am currently using op item get <item> --field type=otp --format json | jq -r .totp as per the 2.0 Upgrade guide (note --format json which is required but not mentioned in the upgrade guide)