-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add http basic auth based on env vars #33
base: master
Are you sure you want to change the base?
Conversation
@mbovo this is good. I am thinking about how to make it optional. I mean if we don't inject the env vars we are still requiring an empty auth |
@gianarb I've added a flag to enable (default disabled) authentication, with default user/pass (orbiter/orbiter) just in case. I'm using kelseyhightower/envconfig here to read custom configuration from env, seems a good lib. As improvement in I think configuration like this should be placed in global conf and propagated, instead of using repeated code. I will open another proposal/pr for this last point. |
I like the mapping idea. I dont think we need library to read some envvar. I think the os package is enough |
No description provided.