Could anyone provide some instruction on how you would go about assigning a Managed Service Identity to a Remotely-hosted Web app?
My application is registered in AAD
to enable the use of authentication. I want to remove the appSecret
from appsettings
and store that in the KeyVault
and access the KeyVault
using the MSI
.
I have looked at the MS docs
and followed a few guides, but have not, as of yet, managed to successfully retrieve my secret. In the first instance, I just wanted to store a secret and get that back, and once that was working, get the client secret using the same approach.
Managed identity only works when you host your app in Azure.
This is because it works as a local endpoint inside the Azure instances.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.