Here is (super anemic) code sample from the .NET quickstart:
app.MapGet("/", () => {
Console.WriteLine();
Console.WriteLine("Get Environment Variables: ");
foreach (DictionaryEntry de in Environment.GetEnvironmentVariables())
Console.WriteLine(" {0} = {1}", de.Key, de.Value);
return "Hello from dotnet " + name;
});
I can access EnviroVariables (yay). But how do I access Secrets that are stored in the apps general settings? I saw in the docs that Secret Storage is not supported for anything but NodeJS and Python. But it was a little unclear whether that is referring to the secrets key/value pairs, or something else.