如何使用MSI在Visual Studio中进行开发?
问题描述:
在开发和调试期间,我需要访问我的Key Vault. 是否可以通过使用托管服务标识来实现? 我看到我的代码可以
I need to get access to my Key Vault during development and debugging. Is it possible via using managed service identity? I see that my code can get this credentials when the app is deployed on VM, but what if I need them during development on my local workstation?
答
从Visual Studio 2017 15.8开始,在Visual Studio中内置了juunas提到的扩展.
As of Visual Studio 2017 15.8.something, the extension which juunas mentioned is built into Visual Studio.
工具->选项-> Azure服务身份验证->帐户选择
Tools -> Options -> Azure Service Authentication -> Account Selection