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 pass.
$ nmcli connection up myvpn passwd-file <(echo vpn.secrets.password="$(pass myvpn/pass/[email protected])$(pass otp myvpn/otp/[email protected])")
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