userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.36k stars 272 forks source link

Is there best approach to add my custom env variables for my project? #557

Closed h1laryz closed 3 months ago

h1laryz commented 4 months ago

Hi, I searched in documentation at userver.tech, but didn't find anything about adding my own env variables into config_vars.yaml not to be used in static_config.yaml

Do I need to write my own parser of my config json/yaml to get my env variables or there is something built into userver to get my env variables?

For example, secret key for jwt or smth else