Skip to main content
onePassword.readItemFile reads binary content from a file attached to an item. This action requires a service-account connection.

Example

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

Inputs

Provide the vault and item IDs plus file attributes returned by a decrypted item. Every input accepts a compatible signal. Account-backed actions accept an optional second argument { account } to select a named binding.

Output

Returns a Uint8Array containing the file. The output is sensitive.