I have asp.net core
web api app which is hosted in Azure Kubernetes Service
and the web api endpoints is secured with Azure Active Directory (AAD)
. Following the below article,
https://dotnetplaybook.com/secure-a-net-core-api-using-bearer-authentication/
Now I have another asp.net core web api application (Gateway) which is hosted as Azure App Service
and this is a client application for above microservice which is hosted in AKS.
I have registered the client app (Gateway) also in AAD
and using secret
and using this gateway and microservices authenticated and works.
Since AKS hosted microservices talks with Azure App service, can I use Managed Identity
so that I don't need to do secret
management?