Change Key Vault Account in Visual Studio as a Connected service

asked 2021-11-19T00:04:33.457+00:00
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.
658 questions
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-11-22T21:59:15.223+00:00
    JamesTran-MSFT 26,526 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.
    151460-image.png

    Remove Dependency:
    151621-image.png

    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.

    No comments