1Password / connect

Access your 1Password secrets using a 1Password Connect Server
https://developer.1password.com/docs/connect
149 stars 28 forks source link

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

Open dhruvik7 opened 9 months ago

dhruvik7 commented 9 months ago

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.

ag-adampike commented 9 months ago

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

dhruvik7 commented 9 months ago

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}"