Is there a good way to share configuration between apps in Azure?Is it possible to script the configuration of Azure App Service Authentication?Programmatically set Azure App Service application settings / environment variablesMultiple applications in an Azure web appAzure App Service API Deployment requires a restartAzure Functions not showing in Function AppAzure App Services app uses wrong PHP versionEasy Authentication and Authorization in Azure Function App using ARM templateAzure App Services Antimalware?Executing Same Azure Function but for different input values in App SettingsBest method for deploying Azure function app application settings

Does Multiverse exist in MCU?

The tensor product of two monoidal categories

Swapping "Good" and "Bad"

What happens to unproductive professors?

Why doesn't sea level show seasonality?

Is there a strong legal guarantee that the U.S. can give to another country that it won't attack them?

Why was hardware diversification an asset for the IBM PC ecosystem?

Why return a static pointer instead of an out parameter?

LED glows slightly during soldering

When I press the space bar it deletes the letters after it

Is "I do not want you to go nowhere" a case of "DOUBLE-NEGATIVES" as claimed by Grammarly?

Confirming the Identity of a (Friendly) Reviewer After the Reviews

Do I have a right to cancel a purchase of foreign currency in the UK?

Are there any medieval light sources without fire?

OR-backed serious games

Can the Mage Hand cantrip be used to trip an enemy who is running away?

How were Martello towers supposed to work?

How can a dictatorship government be beneficial to a dictator in a post-scarcity society?

Why do people keep referring to Leia as Princess Leia, even after the destruction of Alderaan?

Extracting points from 3D plot that lie along an arbitrarily oriented line

How are mathematicians paid to do research?

Some interesting calculation puzzle that I made

Is there any reason why MCU changed the Snap to Blip

Switching interface VLAN ID Mid-Production



Is there a good way to share configuration between apps in Azure?


Is it possible to script the configuration of Azure App Service Authentication?Programmatically set Azure App Service application settings / environment variablesMultiple applications in an Azure web appAzure App Service API Deployment requires a restartAzure Functions not showing in Function AppAzure App Services app uses wrong PHP versionEasy Authentication and Authorization in Azure Function App using ARM templateAzure App Services Antimalware?Executing Same Azure Function but for different input values in App SettingsBest method for deploying Azure function app application settings






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.



What's the best way to allow these apps to share configuration?



We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.



A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.



Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.



Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?










share|improve this question






















  • have you considered azure key vault ?

    – Imran Arshad
    Mar 26 at 1:43











  • @ImranArshad That's not a bad plan. We're already using it for secrets.

    – Tom Wright
    Mar 26 at 1:45






  • 2





    There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview

    – juunas
    Mar 26 at 6:57











  • @juunas If you expanded that to an answer, it might be a contender

    – Tom Wright
    Mar 26 at 9:48

















1















We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.



What's the best way to allow these apps to share configuration?



We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.



A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.



Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.



Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?










share|improve this question






















  • have you considered azure key vault ?

    – Imran Arshad
    Mar 26 at 1:43











  • @ImranArshad That's not a bad plan. We're already using it for secrets.

    – Tom Wright
    Mar 26 at 1:45






  • 2





    There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview

    – juunas
    Mar 26 at 6:57











  • @juunas If you expanded that to an answer, it might be a contender

    – Tom Wright
    Mar 26 at 9:48













1












1








1








We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.



What's the best way to allow these apps to share configuration?



We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.



A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.



Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.



Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?










share|improve this question














We have a large system built in Azure apps. It is made up of an App Service for our API and several Functions Apps for backend processing.



What's the best way to allow these apps to share configuration?



We use ARM templates currently to set up the environment variables for each app, which is fine for deploy-time, but there's nothing to keep the config in sync between the apps.



A use case might be a feature flag that controls whether a sub-system is operational. We might want this flag to be used in the API and a Functions App. At present we can manually go in and set the variable in each of the apps, but it would be easier to manage if we only had to do it in one location.



Ideally, any update to the config would be detected by Azure and trigger a restart of the service, as currently happens with the native implementation.



Is there a good, off-the-shelf, way to do this? Or will I be rolling my own with a table in a database and a lightweight function?







azure configuration azure-web-sites azure-functions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 26 at 1:38









Tom WrightTom Wright

6,92412 gold badges64 silver badges128 bronze badges




6,92412 gold badges64 silver badges128 bronze badges












  • have you considered azure key vault ?

    – Imran Arshad
    Mar 26 at 1:43











  • @ImranArshad That's not a bad plan. We're already using it for secrets.

    – Tom Wright
    Mar 26 at 1:45






  • 2





    There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview

    – juunas
    Mar 26 at 6:57











  • @juunas If you expanded that to an answer, it might be a contender

    – Tom Wright
    Mar 26 at 9:48

















  • have you considered azure key vault ?

    – Imran Arshad
    Mar 26 at 1:43











  • @ImranArshad That's not a bad plan. We're already using it for secrets.

    – Tom Wright
    Mar 26 at 1:45






  • 2





    There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview

    – juunas
    Mar 26 at 6:57











  • @juunas If you expanded that to an answer, it might be a contender

    – Tom Wright
    Mar 26 at 9:48
















have you considered azure key vault ?

– Imran Arshad
Mar 26 at 1:43





have you considered azure key vault ?

– Imran Arshad
Mar 26 at 1:43













@ImranArshad That's not a bad plan. We're already using it for secrets.

– Tom Wright
Mar 26 at 1:45





@ImranArshad That's not a bad plan. We're already using it for secrets.

– Tom Wright
Mar 26 at 1:45




2




2





There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview

– juunas
Mar 26 at 6:57





There is also the new App Configuration service :) docs.microsoft.com/en-us/azure/azure-app-configuration/overview

– juunas
Mar 26 at 6:57













@juunas If you expanded that to an answer, it might be a contender

– Tom Wright
Mar 26 at 9:48





@juunas If you expanded that to an answer, it might be a contender

– Tom Wright
Mar 26 at 9:48












3 Answers
3






active

oldest

votes


















6














One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.



It is meant for sharing configuration settings across components.



Note it is not meant for secrets, that's what Key Vault is for.






share|improve this answer






























    1














    There is a guidance/design pattern for this from Microsoft, it can be found from here.






    share|improve this answer






























      0














      Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store



      The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.



      For senstive data: Use Keyvault to store the secrets/keys/certificates.






      share|improve this answer

























        Your Answer






        StackExchange.ifUsing("editor", function ()
        StackExchange.using("externalEditor", function ()
        StackExchange.using("snippets", function ()
        StackExchange.snippets.init();
        );
        );
        , "code-snippets");

        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "1"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348670%2fis-there-a-good-way-to-share-configuration-between-apps-in-azure%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        6














        One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.



        It is meant for sharing configuration settings across components.



        Note it is not meant for secrets, that's what Key Vault is for.






        share|improve this answer



























          6














          One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.



          It is meant for sharing configuration settings across components.



          Note it is not meant for secrets, that's what Key Vault is for.






          share|improve this answer

























            6












            6








            6







            One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.



            It is meant for sharing configuration settings across components.



            Note it is not meant for secrets, that's what Key Vault is for.






            share|improve this answer













            One way would be to use the new App Configuration service: https://docs.microsoft.com/en-us/azure/azure-app-configuration/overview.



            It is meant for sharing configuration settings across components.



            Note it is not meant for secrets, that's what Key Vault is for.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 26 at 10:17









            juunasjuunas

            25.6k3 gold badges53 silver badges83 bronze badges




            25.6k3 gold badges53 silver badges83 bronze badges























                1














                There is a guidance/design pattern for this from Microsoft, it can be found from here.






                share|improve this answer



























                  1














                  There is a guidance/design pattern for this from Microsoft, it can be found from here.






                  share|improve this answer

























                    1












                    1








                    1







                    There is a guidance/design pattern for this from Microsoft, it can be found from here.






                    share|improve this answer













                    There is a guidance/design pattern for this from Microsoft, it can be found from here.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 26 at 9:42









                    MiksteriMiksteri

                    948 bronze badges




                    948 bronze badges





















                        0














                        Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store



                        The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.



                        For senstive data: Use Keyvault to store the secrets/keys/certificates.






                        share|improve this answer



























                          0














                          Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store



                          The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.



                          For senstive data: Use Keyvault to store the secrets/keys/certificates.






                          share|improve this answer

























                            0












                            0








                            0







                            Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store



                            The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.



                            For senstive data: Use Keyvault to store the secrets/keys/certificates.






                            share|improve this answer













                            Best Practice in Architecture: You can use the external configuration store pattern and use a Redis Cache to share the configuration between multiple applications as described in here: https://docs.microsoft.com/en-us/azure/architecture/patterns/external-configuration-store



                            The approach is you can get this data from Appsettings for each environement (this can be automated in CI/CD pipeline). On first connection you store the data in RedisCache.



                            For senstive data: Use Keyvault to store the secrets/keys/certificates.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Mar 26 at 11:02









                            Anass KartitAnass Kartit

                            6995 silver badges15 bronze badges




                            6995 silver badges15 bronze badges



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348670%2fis-there-a-good-way-to-share-configuration-between-apps-in-azure%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                                SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                                은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현