Skip to main content
Dec 17, 2022 9:26 PM UTC
Question

Is it possible for 1Password CLI running on WSL to connect with 1Password hosted on Windows?

Right now I can access 1Password on my WSL Debian installation using the CLI. But I have to enter my master password even when Windows is authenticated. I was just curious if it's possible to connect the two (a-la the SSH agent forwarding magic outlined here - https://1password.community/discussion/128023/ssh-agent-on-windows-subsystem-for-linux)


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

42 replies

Jack_P_1P
1Password Employee
1Password Employee
Jan 31, 2023 11:28 PM UTC

Hey folks,

Thanks for sharing your interest! I know it's something I'd love to see as well, so I'll add your feedback. 🙂

Jack

Feb 22, 2023 11:22 PM UTC

I'm also interested. Using AWS CLI with 1Pass would be great.
Thanks

Feb 26, 2023 6:57 AM UTC

+1 Would love to see this as well. Seeing that 1Pass has other developer friendly features i.e the VSCode extension, secrets and ssh-agent (while unofficially supported, can be utilised in WSL) to name what first comes to mind, I think this would be a fantastic addition to the toolkit! 😊

Jack_P_1P
1Password Employee
1Password Employee
Mar 9, 2023 11:40 PM UTC

Hi @PurplProto and @jefoso:

Thanks for sharing! 🙂

Jack

Mar 14, 2023 1:05 PM UTC

+1

I have been using the hackish solution for ssh agent and it's a breeze. Would love seeing the full 1Password CLI working on WSL.

Mar 14, 2023 2:28 PM UTC

Btw, here's a new solution that doesn't depend on a separate sudoauth alias.

https://gist.github.com/matfax/8853783a56aa886d7019d7b8024437ad

The howto script is not meant for automatic execution, just as a guideline. It's best if you just edit the respective files manually, and don't forget substituting your own item identity.

Jack_P_1P
1Password Employee
1Password Employee
Mar 24, 2023 10:09 PM UTC

Thanks for sharing!

Jack

Jul 2, 2023 1:21 PM UTC

+1

Jul 3, 2023 5:07 PM UTC

+1

Jul 13, 2023 5:25 AM UTC

+1