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....
MrC
5 years agoSuper Contributor
You could add a syntax to retrieve "raw" (or uninterpreted) values to your --fields option, or support an alternate version, such as --fieldsraw.
This gives the CLI users access to both forms - raw TOTP secret, raw Unix epoch dates, or any other input value where 1Password displays it after some transformation, and 1Password-transformed values by default.