Forum Discussion

Former Member's avatar
Former Member
4 years ago

Seems like there would be a simple python script to lookup an item and return the password,

I've looked and nothing seems to work with current versions of ITerm2 and 1Password on Monterey. Am I just looking in the wrong place?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Referrer: forum-search:https://1password.community/search?Search=iterm2

1 Reply

  • Former Member's avatar
    Former Member

    Hi there @mitch355

    You can use a command like op get item <ITEM_NAME_OR_ID> --fields password to retrieve a Login/Password item's password field in a single command.

    In the CLI v2, it would be op item get <ITEM_NAME_OR_ID> --fields password