Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possiblity to create item share #100

Open
jldantas-s1 opened this issue Mar 25, 2024 · 0 comments
Open

Possiblity to create item share #100

jldantas-s1 opened this issue Mar 25, 2024 · 0 comments

Comments

@jldantas-s1
Copy link

Summary

Allow the SDK/API to create shares of items.

Use cases

The use case is self-explanatory. If it was possible to share the item via API, as in, configuring expiration timers, adding emails, etc. and getting the link you can automate any process that requires sharing credentials/TOTP. This can be useful in many scenarios:

  • Provisioning user accounts
  • Automatically sharing created credentials with customers/third parties/employees
  • Increasing reliability of processes that depend on temporary credentials that include TOTP
  • etc.

Proposed solution

That is an API design choice. But perhaps extend the /item/ endpoint to include a /item/{itemID}/share where a GET request can recover the share information of the item, a POST allows to creation of the share and a PATCH allows to change of an active share and a DELETE removes the share from the item.

Is there a workaround to accomplish this today?

Not that I'm aware of. If there is I would be interested to know.

References & Prior Work

1Password already has the feature, it isn't accessible via API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant