locked
connection string/ Key Vault URL in Web API project? RRS feed

  • Question

  • Hi 

    I have web API app that will interact with Azure Sql DB.

    I dont want to have my DB connection string in the WEB  API project configuration file.

    I want to keep my Db connection string in Key Vault as key,I did that and enabled the System  assigned identity on my web app,Provided access on Azure key vault to my system assigned  identity to read the key.

    so that i can  remove the DB connection string from my configuration file but i need to store the key vault URL to access my key vault to get the connection string.


    Is this the correct approach,Please guide me the best approach.

    is there any way that i can avoid completely storing of any keys in Web App Configuration files
    Tuesday, April 14, 2020 4:45 PM

Answers