Azure Container Apps Environment : DAPR Key Vault Secret Store Global Managed Identity
Hi,
I created key vault secret store DAPR component in container apps environment by following the article - https://learn.microsoft.com/en-us/azure/container-apps/dapr-component-connect-services#azure-key-vault-secret-stores
so, i have issues regarding the Managed Identity to fetch secret from key vault. I have 10 apps deployed on environment and if I give the identity of 1 app to the store, only that app works.. and other 9 apps "daprd" sidecar fails to initialize with error, "Unable to load proper Managed Identity".
If I omit the client id field and dont provide any managed identity to the secret store. then no app works.
However, if I just add the scope in the secret store, with any gibberish string, all the app starst working.. it seems when the scope is provided and no cleint id, all the apps use their own MIs to access key vault.. i know its a bug.
I also tried creating a new MI and attach to the container app environemnt, and provide that cleint id to the secret store, it doesnt work for any app..
so the only solution i can think of is...to create a shared common MI and attach it to all the 10 apps and mention that client id in secret store.. yes this will mean that most of my apps might end up multiple MIs attached to themselves..
is there a proper solution, where i can create only 1 kv secret store and use it globally for all apps in the same container app environment ????