I have succesfully connected an ASP.NET (.Net Framework 4.7.2) web application to a demo Azure Key Vault using a "quick" set up using the following links:
But is the red highlighted area in the picture above, the links take me to the azure key vault web page. So, there is not a configuration page within Visual Studio to change the azure suscription and key vault. In the application there is only a reference to the key vault in the Web.Config file. The connectedService.json file does not contain any useful information either.
I need to read the secrets from the web.config and not from anyther place. I have even written a method to read the secrets overriding the web.config. But this not aceptable, since the application architecture reads all the connections from the web.config file
Any ideas, please?.
CodePudding user response:
On Work around
You can access different subscription for any of your accounts directly
1) Server Explorer by right-clicking on the Azure node, choosing Manage and Filter Subscriptions,
2) You get the list all subscription select the subscription. and select the subscription for your application
To Move the key vault to another subscription refer this document: