Using secrets in strings

I missed WTH month so decided to create a feature request.
I would really love to be able to include secrets from secrets.yaml file in text strings like urls, commands, etc. Many diy integrations, whether through templates, rest sensors, command line tools require some kind of authentication.

Already a WTH Why the heck can't I use secrets in templates?