Skip to main content
onePassword.createItemShare creates a policy-compliant item sharing link. This action requires a service-account connection.

Example

automations/onepassword-create-item-share.automation.ts

Inputs

Provide a decrypted item, the result of getItemSharePolicy, and sharing parameters. Parameters can set expiry, recipients, and one-time access. Every input accepts a compatible signal. Account-backed actions accept an optional second argument { account } to select a named binding.

Output

Returns the sharing URL. The output is sensitive.