Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
4 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....
Former Member
4 years agoI would also like to see an option back like before. If possible I'd like to not use additional tools like jq to get the totp.
If retrieving a totp field with "--fields" directly I'd be fine with always returning the totp value (and not secret like right now), I don't think I ever wrote a script that needed the totp secret - but there's probably others that do.