Skip to main content
jgranger
February 27, 2024
Question

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

  • February 27, 2024
  • 1 reply
  • 90 views

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

jgranger
jgrangerAuthor
February 27, 2024

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.