britive / python-cli

Britive CLI Python Implementation
MIT License
4 stars 6 forks source link

`pybritive configure` do not support setting the proxy #140

Closed michaelbrewer closed 5 months ago

michaelbrewer commented 6 months ago

Relates to migration from britive cli to pybritive and loss of functionality (See #139 )

When configuring a corp. proxy, the old britive cli allows for this

britive configure --tenant_domain=MY_TENANT_ID.britive-app.com --proxy=http://MY_CORT_PORXY:8080

Migration also does not work with pybritive configure import

twratl commented 6 months ago

pybritive can be configured to use a proxy via the same methods as the python SDK for Britive. Details here. It is using the standard proxy environment variables for python requests library.

michaelbrewer commented 6 months ago

Ok. Will try that. Proxy is only required for part of the options. So using environment variables would need to be wrapped around the command.

Legacy cli allowed for this to just happen for a specific command.