1Password / connect-sdk-python

Python SDK for 1Password Connect
https://developer.1password.com/docs/connect
MIT License
200 stars 31 forks source link

Add the get_document() method to the client #24

Closed aperepel closed 3 years ago

aperepel commented 3 years ago

Summary

SSH Private Key is in the vault, saved as a Document category item. There's no get_document() call, but there is one in the non-connect python sdk

Use cases

Current get_item() call will return the Item object type, but it has no methods to download the actual doc?

Proposed solution

Add this method, it already was working fine with non-connect 1password client

Is there a workaround to accomplish this today?

None that I'm aware of

References & Prior Work

N/A

jillianwilson commented 3 years ago

Hi there!

Thanks for the suggestion. I think being able to save and download a document using the Python SDK could be very useful. We will look into adding this in the future.

wasdee commented 3 years ago

is there any progress on this?

wasdee commented 3 years ago

26 might be the closest thing

xjohnwu commented 2 years ago

Is it possible to release this version to pypi?