1Password / connect-sdk-python

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

Support service accounts #72

Open mvgijssel opened 1 year ago

mvgijssel commented 1 year ago

Summary

It would be nice if this SDK supports authenticating with the new Service Accounts feature https://developer.1password.com/docs/service-accounts/.

Use cases

I use Pyinfra and Pulumi to manage infrastructure and I'm using 1Password for secret management. Using service accounts will reduce the complexity of the infrastructure by being able to directly call 1Password (instead of going through the connect server) which is good enough for the small infrastructure I manage.

Is there a workaround to accomplish this today?

Do subprocess calls to the 1password-cli which already supports service account authentication.