Is it a must that I have to use aad Pod Identity to connect from AKS to Cosmos db ?
Here is my Situation :-
React SPA --calls-- Azure APIM --calls-- AKS --calling-- Cosmos DB.
My React SPA calls .Net Core Microservice (through APIM which validates the token against Azure AD) and microservice need to talks to Cosmos DB.
I have created an AKS Cluster which created the Virtual Network by default.
I have created a Subnet in the above VNet to map my Cosmos db.
In cosmos db I have created Private endpoint and mapped to the Subnet of AKS VNet.
The question is - If I have this set up, will I be able to retrieve data from database ? Or Do I still need to have aad Pod identity set up to access PaaS resources like Cosmos db or Azure Key Vault ?
Appreciate your response.