Skip to main content
October 18, 2021
Question

Does the cli integrate with the desktop app (like the browser extensions)?

  • October 18, 2021
  • 9 replies
  • 303 views

Hi,

I'm looking for a simple way to insert passwords from the 1Password desktop application on the command line (on Linux). For example, to login to a VPN that uses a regular password and a one-time password concatenated I can use the following command that pulls the credentials from https://www.passwordstore.org/.


$ nmcli connection up myvpn passwd-file <(echo vpn.secrets.password="$(pass myvpn/pass/user@example.com)$(pass otp myvpn/otp/user@example.com)")

I would like to do something similar using 1Password. However, it seems op uses its own session state. Can I hook it up to the desktop application? Or does the desktop app has a separate command line interface?


1Password Version: 8.3.1
OS Version: Arch Linux

9 replies

October 19, 2021

Hello @jcassee

I'm a developer on the team responsible for the 1Password CLI tool.

Hang tight, as we are actively developing the feature for system-wide authentication across the CLI and the desktop clients so that the CLI does not need to constantly be re-authenticated every 30 minutes.

I can't tell you when exactly it will be done, but we are working on it.

Actually, we are about to introduce an early access program soon. Although there is no guarantee that this feature would be included in the first early access version, it will be added to it once it's ready.

If you are interested in signing up for early access before we announce it, I encourage you to email us from the support site at https://support.1password.com/contact/ and ask to speak to the product team!

I hope this information is helpful, and if you have any other questions, I'd be happy to continue chatting with you!

October 20, 2021

That's great to hear! I'll ask the product team for early access. Thank you.

October 25, 2021

Thanks for your interest in the 1Password CLI early access!

November 23, 2021

that feature would be super awesome!

November 24, 2021

Thank you for letting us know @defreng, and agreed :)

February 28, 2022

Hi is this supported now in beta? soon?

March 18, 2022

Hi there folks, the second version of the CLI with biometric authentication via the desktop application is now live, feel free to check it out here:

https://developer.1password.com/docs/cli/get-started

March 20, 2022

Works beautifully - thank you so much guys!

April 5, 2022

No worries, let us know if we can help with anything else!