Possible to get a One-Time Password current value?

bisbis
in CLI

Is it possible to get the current value for a one-time password field?

Using "op get item xxx", I can see the field's information under /details/sections/fields, but it does not include the current OTP value.

An example of the JSON under /details/sections/fields; is "k" meant to hold the OTP?

{
    "k":  "concealed",
    "n":  "TOTP_[redacted]",
    "t":  "One-time password",
    "v":  "otpauth://totp/[redacted]"
}

1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Referrer: forum-search:one-time password cli

Comments

  • BenBen AWS Team

    Team Member

    Hi @bis

    Rather than op get item I believe the op get totp command should help here. :) Please let me know if that isn't working.

    Ben

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file