connect icon indicating copy to clipboard operation
connect copied to clipboard

Be able to share links to items (one time link)

Open dhruvik7 opened this issue 1 year ago • 2 comments

The one-time share link feature on 1password is very useful, it would be great if this could be added to the Connect API so we can use this programmatically.

dhruvik7 avatar Oct 11 '23 00:10 dhruvik7

This isn't necessarily a solution per se, but at least as a workaround, you might consider using service accounts with 1Password CLI to programmatically create item shares:

https://developer.1password.com/docs/service-accounts

ag-adampike avatar Oct 11 '23 15:10 ag-adampike

Thanks, I didn't know the CLI had this function. I'm trying to use it and am getting this error despite specifying the vault. I tried all the combinations of using names/ids. There's no other vault or item with the same name in my account.

validateVaultItem failed to Validate: Couldn't validate the item: "[ItemValidator] has found 1 errors, 0 warnings: \nErrors:{1. details.sections[1] has non-unique name}"

dhruvik7 avatar Oct 11 '23 18:10 dhruvik7