dokku / dokku-http-auth

dokku plugin that gives the ability to manage HTTP basic auth for an application
MIT License
86 stars 20 forks source link

Global user/password configuration #11

Closed femueller closed 2 years ago

femueller commented 2 years ago

It would be nice to have a global htpasswd configuration, which can be enabled for all Dokku apps. This would help avoiding repetitive user/password creation.

Similar to:

dokku config:show [--merged] (<app>|--global)
dokku config:set [--encoded] [--no-restart] (<app>|--global) KEY1=VALUE1 [KEY2=VALUE2 ...]
josegonzalez commented 2 years ago

This might be useful, but I am not interested in adding more global config like that (or via this plugin directly). Global config is actually fairly annoying to deal with.

Closing this for now as I don't think I'll be working on this, but if someone wants to make an MR that adds such functionality to this plugin (without using app env vars), I'd be willing to merge.