dchesterton / texecom2mqtt-hassio

Home Assistant add-on. Connect to Texecom Premier Elite alarm panels and publish updates to MQTT. Supports arming/disarming as well as zone updates and alarm events.
https://hub.docker.com/r/dchesterton/texecom2mqtt
MIT License
52 stars 9 forks source link

Environment variables for secrets #76

Open devotee101 opened 1 year ago

devotee101 commented 1 year ago

Might be a feature request, but is there any way of using environment variables for the secure information in the config.yml, i.e. the MQTT password and udl_password?

FYI, I'm running in k8s so I'd like to secure that data using Secrets.

devotee101 commented 1 year ago

Worked around it for the time being by storing the entire config in a Secret rather than the ConfigMap I was using. It'd still be nice to override the secure parts of config via environment variables, if that can be added at some point in the future?