broad-chef-9914009/21/2021, 3:14 PM
in C# Pulumi projects? My scenario is that I want to use a connection string for a resource on a completely different resource group. not controlled by pulumi as an application setting for my azure app service. I want to store the value of this connection string in
like I would for any typicaly .net application. The only docs I can find is this https://www.pulumi.com/blog/7-ways-to-deal-with-application-secrets-in-azure/#2-configuration-files but this simply says "_With some configuration not shown here, the properties are filled at startup_", but it is the stuff that is not shown that I would love to see.
green-stone-3783909/21/2021, 5:35 PM
You'd then be able to load the configuration details into a POCO, where the rest of your app is free to use it.
new ConfigurationBuilder .AddJsonFile("appSettings.json", true, true) .Build();
worried-city-8645809/21/2021, 5:37 PM