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 ago@"Justin.Yoon_1P" thanks a lot, that seems to work! As a suggestion for retrieving other totp fields, maybe we could give the --otp
flag an optional value with the name of the field? I feel like that kind of strays away from the --field/fields flag though, so maybe there's a better way you're already looking into :)