public static void WithManagedIdentity(AzureAppConfigurationOptions options) { options.ConnectWithManagedIdentity(AzureAppConfiguration.ManagedIdentityEndpoint); if (AzureAppConfiguration.UseLabel) { options.Use(KeyFilter.Any, AzureAppConfiguration.Label); } }
public static void WithConnectionString(AzureAppConfigurationOptions options) { options.Connect(AzureAppConfiguration.ConnectionString); if (AzureAppConfiguration.UseLabel) { options.Use(KeyFilter.Any, AzureAppConfiguration.Label); } }