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 agoHello @MichaelKloske , MrC , ramblingpolak , @rknshia !
It's been a while - but we wanted to let you folks know that we've introduced a way to easily retrieve the primary totp for an item, it works exactly like how op get totp
used to work in v1 but the new command is: op item get --totp
.
Hopefully this command works for you, and please do note that we are still investigating how to retrieve specific totp fields' otp values (and not just the primary totp field's) at the moment as well.