1Password / terraform-provider-onepassword

Use the 1Password Terraform Provider to reference, create, or update items in your 1Password Vaults.
https://1password.com/secrets
MIT License
314 stars 41 forks source link

Feature: File attachments to items #164

Closed asgeirn closed 1 week ago

asgeirn commented 1 month ago

Adds files to the item resource, with properties to get the file name and contents.

Uses op read to get the file contents after transforming the content path of the file to an op:// URL.

I tried scanning through the op documentation for other ways of doing this, but was unable to find a way to reliably use for instance op document get

Fixes 1Password/terraform-provider-onepassword#132

volodymyrZotov commented 1 week ago

Implemented in #161