Skip to main content
February 12, 2022
Question

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

  • February 12, 2022
  • 1 reply
  • 51 views

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

March 18, 2022

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