Skip to main content
onePassword.attachItemFile attaches binary content to a file field on an existing item. This action requires a service-account connection.

Example

automations/onepassword-attach-item-file.automation.ts

Inputs

Provide the complete decrypted item and a file with Uint8Array content, name, section ID, and field ID. Every input accepts a compatible signal. Account-backed actions accept an optional second argument { account } to select a named binding.

Output

Returns the updated decrypted item. The output is sensitive.