Skip to main content
Feb 27, 2024 8:30 PM UTC
Question

CLI share item error: You aren't authorized to access this resource.

I'm trying to share an item via cli for automation using a service account. I don't know if it needs more access or how to do that, if so. I can create and item, but then I get an error when I try to share it.

example: op item share billybob--vault='TestVault' --emails mailto:myemail@someplace.com --expiry 1h


1Password Version: 2.25.0
Extension Version: Not Provided
OS Version: Windows 11
Browser: Not Provided

1 reply

Feb 27, 2024 10:15 PM UTC

I can't edit my post but there's a typo between the username and --vault that I can't fix. This is not the issue, but I wanted to point it out.