amenezes / config-client

config-client package for spring cloud config and cloud foundry
https://config-client.amenezes.net/
Apache License 2.0
24 stars 17 forks source link

feat: Added support for basic authentication #17

Closed realbucksavage closed 5 years ago

realbucksavage commented 5 years ago

This PR attempts to add a basic authentication feature in this module.

Usage:

from config.spring import ConfigClient

c = ConfigClient(
  app_name="application"
  url="http://localhost:8888/application-dev.json",
  username="user",
  password="pass"
)

config = c.get_config()