microsoft / microsoft/aspire

Extract UserAssignedIdentity resource from AzureContainerAppEnvironmentResource and AzureAppServiceEnvironmentResource

Open
#13,812 0 comments 1 reaction 2 assignees Claimed by @eerhardt View on GitHub
area-deployment
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

Similar to what was done with AzureContainerRegistryResource in https://github.com/dotnet/aspire/pull/13306, we should extract the UserAssignedIdentity that is created by AzureContainerAppEnvironmentResource and AzureAppServiceEnvironmentResource into a separate AzureUserAssignedIdentityResource instance.

This way consumers can get access to the identity and add role assignments to it, if necessary.

See https://github.com/dotnet/aspire/pull/13755 for how we are exposing the AzureContainerRegistryResource on each compute environment. We would have a similar property on IAzureComputeEnvironmentResource that returned the AzureUserAssignedIdentityResource associated with the compute environment.

cc @stepro

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.