noah
noah
CC#
Created by noah on 5/30/2024 in #help
Reading config files (mostly secrets) from outside appsettings and env vars - bad idea?
I agree that in a different scenario that’s a good and even preferred option. And thanks jcotton, that’s a nice onei haven’t seen!
7 replies
CC#
Created by noah on 5/30/2024 in #help
Reading config files (mostly secrets) from outside appsettings and env vars - bad idea?
Hoping to avoid adding extra dependencies as well. I don't have control over the decisions the deploying team is making, including telling them to use new technologies. Moreso looking for either: - a more standardized way to load secrets from non-appsettings files - to be told "just use appsettings and env vars", - or to hear that I'm not alone in solving it the way we have (just using a custom file reader and then mapping to our config classes outside of standard config loaders) and that everything will be okay 🙂
7 replies