Change Key Vault Account in Visual Studio as a Connected service

Ricardo Barboza (KIM) 1 Reputation point

I added a testing AZ Key Vault account to a demo ASP.NET Application using Visual Studio, as a connected service. To publish this application in a production site I need to change this testing az account to a corporate account, using a different key vault. How can I make these changes in Visual Studio? I also need to implement security.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,107 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,361 Reputation points Microsoft Employee

    @Ricardo Barboza (KIM)
    Thank you for the quick follow up on this!

    When it comes to changing the account and using a different Key Vault, you should be able to do this by going to the - Solution Explorer -> right-click the project you added Key Vault support to, and choose Add > Connected Service. The Connected Service page appears with Service Dependencies, which you can edit or remove.

    Remove Dependency:

    For more info - Add Key Vault support to your project

    I hope this helps! If you're still running into issues with this, please let me know.
    Thank you for your time and patience throughout this issue.


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments