Closed rmotapar closed 3 years ago
@rmotapar,
Yes it's possible. Try use HTTPBasicAuth.
For example:
from requests.auth import HTTPBasicAuth
from config.spring import ConfigClient
client = ConfigClient(app_name="simpleweb000")
client.get_config(auth=HTTPBasicAuth('user', password))
I will update the project documentation with this question.
Thanks.
@rmotapar the example solved your question?
The project documentation was been updated.
@amenezes Thank you so much for the quick response. I have verified this using your example and it's working!
Hi, Our spring config server is protected using basic authentication. Is it possible to use config-client to send a basic auth header with the request? If yes, an example would be very helpful.
Thanks!