I have an ASPNET Core site that, working on my development machine, uses the new local secret manager to store passwords for several initial users. I get access to the secret store through IConfigurationRoot.GetSection ("username").
Here's how IConfigurationRoot is created in Startup.cs:
var builder = new ConfigurationBuilder()
.SetBasePath(env.ContentRootPath)
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
.AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true);
if (env.IsDevelopment())
{
builder.AddUserSecrets();
}
builder.AddEnvironmentVariables();
Configuration = builder.Build();
This final line is the IConfigurationRoot property.
. , Azure, . Azure , . , , , , . , , , , - .
, Azure:

, .
?