Skip to content

Possiblity to create item share #100

@jldantas-s1

Description

@jldantas-s1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions