1Password / connect-sdk-python

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

Allow specifying Connect server hostname with an environment variable #16

Closed SimonBarendse closed 3 years ago

SimonBarendse commented 3 years ago

Pulling configuration out of the application to support twelve-factor methodology. This also makes the SDK configuration consistent with the configuration of the Golang SDK.

I have kept the url as optional argument to the function for backwards-compatibility.