Howiecamp
Howiecamp

Reputation: 3111

How to share app settings between multiple Azure websites

I have an application which has multiple websites, one for each logical function:

The sites have a bunch of configuration info. appsettings variables and connection strings in common. Regardless of how I do configuration management, eg via the Azure Portal or scripted via Powershell I want to do as little repeat as possible to keep things simple and reduce opportunity for errors when deploying/ managing these configuration settings.

What recommendations are there for managing this?

Upvotes: 4

Views: 577

Answers (1)

David Ebbo
David Ebbo

Reputation: 43193

I would recommend deploying the various sites using ARM Templates. You can then use the same deployment parameters for multiple sites to end up with each having the same app settings.

As an aside, please note that deployment slots do not share app settings. You have to apply them to each slot. So it's probably not a good candidate for your needs.

Upvotes: 2

Related Questions