ansible-onepasswordconnect-collection icon indicating copy to clipboard operation
ansible-onepasswordconnect-collection copied to clipboard

Retrieve Files attached to Items

Open verkaufer opened this issue 3 years ago • 0 comments

Summary

Add support for retrieving files attached to items. Connect's API supports downloading an attached file, and we try to keep feature parity across all Connect integrations.

Use cases

  • Downloading certificates stored in 1Password, for example. Maybe I store them as files instead of plain text notes.

We welcome further use cases in the comments.

Proposed solution

Adding a new module to retrieve the file seems like the most appropriate solution. Something like connect.download_file, maybe. Some research into how other Ansible modules approach file retrieval (e.g. from S3) would be helpful.

Is there a workaround to accomplish this today?

No, it is not possible for the Connect collection to access files attached to items right now.

References & Prior Work

TODO

  • [ ] Review how other Ansible modules approach file downloads (e.g. the AWS S3 module)
  • [ ] Develop module definition and configuration options

verkaufer avatar Jan 14 '22 18:01 verkaufer