Streamline for Azure App Services

Post Reply
timyeung
User
Posts: 8

Streamline for Azure App Services

Post by timyeung »

It would be best if the project is streamlined:
1) support the use of Azure Cache for Redis for Shared Cache (Session info) for Scaled-out workload.
2) support Custom OpenID Connect IDp, not limited Google/Facebook. it would in turn allow the use of 'Azure AD B2C' for login
3) Use of Azure Vault and connected services to store secret and connection-string.


darkdragon
User
Posts: 148

Post by darkdragon »

+1


timyeung
User
Posts: 8

Post by timyeung »

Suggest adding an option to use Azure Key Vault to store secrets (connection string, jwt secretKey) , and access all secrets from the KeyVault?

program.cs

var builder = WebApplication.CreateBuilder(args);

// line to add
if (builder.Configuration["KeyVaultName"]!=null)
{
    builder.Configuration.AddAzureKeyVault(
        new Uri($"https://{builder.Configuration["KeyVaultName"]}.vault.azure.net/"),
        new DefaultAzureCredential());
};

// Configuration
Configuration = builder.Configuration;

Webmaster
User
Posts: 9425

Post by Webmaster »

Try the new App_Build server event in v2023.


Post Reply