With our migration to VSTS I ran into an issue where I wanted to update Application Settings for an Azure App Service.
At first I thought I could just modify the Variables in my Release Build Definition.
Unfortunately that did not work. ☹️
Variables are geared towards transformation, be it web.config or appsettings.json.
What to do?
I took a deeper dive into what was available in the Deploy Azure App Service step and found a section labeled Application and Configuration Settings, and there is where I found my answer.
I was able to add my settings here.
What was nice is that new settings were automatically added to the Application Settings for the Azure App Service.
I adjusted for both our Development and Production environments and all was good.
Still looking into how I might be able to leverage Azure Key Vault to better secure my settings.
If you know of another way, or a better way, please share!
Discover more from Matt Ruma
Subscribe to get the latest posts sent to your email.