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.6
Extension Version: Not Provided
OS Version: Not Provided
12 Replies
- Former Member
Hello Simon,
now I need to do some grep- and cut - tricks to obtain the OTP in my bash script, but yeah, works fine.
Thanks,
Micha - 1P_Simon
1Password Team
Hello Micha,
TOTP codes are now included in the item response. You can get it with
op item get "my item name".Does this work for your use case?