Skip to main content
XIII
May 22, 2024 9:19 AM UTC
Question

1Password integration in iTerm2 version 3.5?

The release notes of iTerm2 version 3.5 mention 1Password integration:

The password manager can now use LastPass or 1Password rather than the keychain. Use the (⋯) menu next to the search field to configure it.

How do we use this? (And what's the added value?)


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided

12 replies

MrC
May 22, 2024 4:40 PM UTC

In iTerm2, use menu Windows > Password Manager. At the upper right of the dialog that opens, use the ... (ellipsis) menu.

The ⋯ you see in the release notes is simply a Unicode issue in the plain text. Its supposed to be an ellipsis character.

XIII
XIIIAuthor
May 23, 2024 4:57 PM UTC

I did that (before posting my question), but I don’t see a single entry in there…

Does it work for you? (How?)

MrC
May 23, 2024 9:37 PM UTC

Do you have the 1Password CLI installed?

In the pull down, did you select 1Password integration? With the CLI (i.e. /usr/local/bin/op) installed, a dialog should then appear asking for your Master Password.

XIII
XIIIAuthor
May 24, 2024 6:26 AM UTC

Yes, I had to log in using Touch ID.

However, after that the (iTerm) dialog remains empty. I don’t see any passwords and don’t know how to use them in iTerm.

(There’s not much documentation about this, or I did not find it yet)

MrC
May 24, 2024 2:41 PM UTC

Tag the 1Password items you want exposed to iTerm2 with iTerm2.

XIII
XIIIAuthor
May 24, 2024 2:51 PM UTC

Yes, that's the magic trick! Thank you.

Where did you find that?

MrC
May 24, 2024 3:15 PM UTC

See the end of this discussion:

https://gitlab.com/gnachman/iterm2/-/issues/10501

Cheers

XIII
XIIIAuthor
May 24, 2024 4:20 PM UTC

Ah, should have searched issues on GitLab…

Thanks for sharing.

1P_Dave
1Password Employee
1Password Employee
May 27, 2024 2:35 PM UTC

Thanks for finding a solution here MrC! 💙

-Dave

Michael_Mercuri
Jun 4, 2025 12:52 AM UTC

For those who have this working, I'm curious how. I've never been able to get it to work. 

I use 1Password CLI all day long, so I know that's working. I can verify that iTerm2 is able to access my saved password from 1Password by tagging the entries with `iTerm2`. And I can verify that if I tell iTerm2 to enter my password into anything but a login or ssh password prompt to does so correctly (after warning me). 

But whenever I try to use it at an ssh password prompt, the password is always invalid. Obviously, I can't see what it's entering into the terminal. 

Anyone experience this or have any ideas what might be going on? 

Michael_Mercuri
Jun 4, 2025 4:52 PM UTC

Figured it out. After closer inspection of what iTerm2 was doing, I realized it was appending the OTP value to the end of the password. Apparently this can be disabled by using the tag  "iTerm2-no-otp" for the password entry in 1Password. 

Information available here:

https://gitlab.com/gnachman/iterm2/-/issues/11674#note_2206992255

I wish this was better documented.

1P_Dave
1Password Employee
1Password Employee
Jun 6, 2025 3:14 PM UTC

I'm glad that you were able to find a solution! Thanks for sharing with the community. 

-Dave