Search code examples
azureazure-devopsazure-keyvaultconfigurationmanager

Azure App Configuration or Azure KeyVault - trigger new build on changed value


I'm using Azure App Configuration and Azure Key Vault to get values for my applications during build in Azure DevOps.

Is it possible, when I change any value inside Azure App Configuration and/or Azure Key Vault, get some trigger notification (like when I make a commit in the repository) to rebuild pipeline with new values? Is it possible to implement this with Azure App Configuration and Azure Key Vault ?


Solution

  • You can use Azure Event Grid and react to events when there's a change on key vault.

    https://learn.microsoft.com/en-us/azure/key-vault/event-grid-tutorial

    For the opposite, there's no event grid integration yet. I recommend you perform those changes only through Azure Devops, then you can add a new task to also change Key Vault.