1Password CLI -> 1Password Browser Extension requirment

Options
hayduk
hayduk
Community Member
edited April 2023 in CLI

Hi,

I’ve have written a script for updating and creating items in 1Password with PowerShell which uses the 1Password CLI. I have the current 1Password App installed and configured the Integration with the 1Password CLI. After some testing I’ve noticed that updating items in 1Password is not possible without the Browser Extension installed and configured. Reading Items from 1Password works most of the time but not always but editing items does not work at all without the Browser Extension. I followed the documentation for configuring the CLI Integration with the 1Password App and there is no requirement for the Browser Extension. Has anyone come across that requirement?

Here the relevant part of the PowerShell Script and the output it generates:


$Command = 'op signin --account {0} --force --raw' -f 'my.1password.eu'
Invoke-Expression -Command $Command

$(& op item get 'OPTEST')

$Command = "op item edit OPTEST username='Test' password='Test'"
$null = Invoke-Expression -Command $Command

Not successful Update:

Successful Update:

I’m using the current version of the 1Password CLI (2.16.1).

Can anyone explain that behavior?

Regards
Stefan


1Password Version: 8.10.4
Extension Version: 2.9.0
OS Version: Windows 11
Browser:_ Edge

This discussion has been closed.