[feature] Environmental variables on the notification URL list
hi there, I am setting my mail notifier and would like to use environmental variables like so:
mailtos://outlook.com?smtp=smtp-mail.outlook.com&user=${MY_EMAIL}&pass=${MY_PASSWORD}
Is it possible?
No but that's a great idea! I'll add that soon for the next release
I'm worried that this could leak environmental vars from the hosting environment too easy, for example amazon stores a few credentials for the DB etc in the environment vars... I'm not sure this is a good idea
Maybe some docker-compose.yml extra settings that can list exactly which env-vars are permitted might be the solution
PERMITTED_ENV_VARS_NOTIFICATION=MY_EMAIL,SOMETHINGELSE,VERSION,ETC
I would need a way to pass the credentials in a safe way, not in clear text in the notifications settings page which anyone with access to the app would be able to read. I think that the environment variables suggestion would be safer than the current solution.
maybe headers.txt file could also be read from notifications URL
I just started using changedetection.io and I don't know exactly what you are referring to. Could you please elaborate a bit more or point me to the right piece of documentation?
Apprise can use a configuration file which could be good enough, but there is no way to use it as changedetection.io needs a non empty Notification URL List. This is a great tool, but a feature like this will make it even better.
maybe
headers.txtfile could also be read from notifications URL
Oh, this is what you mean. Thank you, I will give it.