aha-oida / aha-secret

Share secrets encrypted
GNU General Public License v3.0
4 stars 0 forks source link

Improve config system #69

Open whotwagner opened 5 months ago

whotwagner commented 5 months ago

Currently there is a config.yml and there are environment variables. The config.yml is limited to sinatra-context only. It's not possible to use these settings in config.ru. That's why some environment variables can be used to enable some settings for config.ru.

A unified config-system would be great. One that can be used with environment variables and that is not limited to the sinatra-context only. I would suggest something like: https://github.com/rubyconfig/config