Have an existing Azure service fabric instance, which host multiple applications apart from our application. At present application hosted on Azure service fabric is connecting to Keyvault using Azure AD application using certificates.
Would like to upgrade by connecting to Azure Key Vault using Managed Identity. But enabling System Assigned Managed Identity is not the option as the target Azure service fabric instance is not dedicated to our application alone but it is a shared environment which hosts multiple application of other projects too.
So other option, is to enable User Assigned Managed Identity.
But, how to enable User Assigned Managed Identity on existing Azure service fabric instance via Power-shell or other easiest way?
How application on existing Azure service fabric instance authenticate itself to Azure Key Vault instance programmatically (c#) to access its secrets?