joergjo / contosoads-containerapp

Contoso Ads Azure Container Apps demo application
MIT License
7 stars 3 forks source link

Access Azure storage with Managed Identity instead of connection string #17

Closed joergjo closed 5 months ago

joergjo commented 6 months ago

This is supported by Dapr. See the Dapr docs here and here.

joergjo commented 6 months ago

This only applies to .NET 8 and future versions due to deprecation of .NET 6 and .NET 7 in 2024.

joergjo commented 5 months ago

The implementation requires to split components apart per app to allow both web app and image processor to use different (managed) identities. This also requires to apply Dapr scopes and use the route attribute to maintain the API handler's path. The sender component names will need to be adjusted in the source code.

joergjo commented 5 months ago

We also need a PowerShell implementation of current-user.sh for Windows users.