1 implementation of IAppIdentityResource
Aspire.Hosting.Azure (1)
AzureUserAssignedIdentityResource.cs (1)
14: AzureProvisioningResource(name, ConfigureAppIdentityInfrastructure), IAppIdentityResource
12 references to IAppIdentityResource
Aspire.Hosting.Azure (2)
AppIdentityAnnotation.cs (2)
15public class AppIdentityAnnotation(IAppIdentityResource identityResource) : IResourceAnnotation 20public IAppIdentityResource IdentityResource { get; } = identityResource;
Aspire.Hosting.Azure.AppContainers (3)
BaseContainerAppContext.cs (1)
70protected void AddAzureClientId(IAppIdentityResource? appIdentityResource, BicepList<ContainerAppEnvironmentVariable> env)
ContainerAppContext.cs (1)
46var appIdentityResource = appIdentityAnnotation.IdentityResource;
ContainerAppJobContext.cs (1)
40var appIdentityResource = appIdentityAnnotation.IdentityResource;
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
585var appIdentityResource = appIdentityAnnotation.IdentityResource;
Aspire.Hosting.Azure.Kubernetes (1)
AzureKubernetesEnvironmentResource.cs (1)
151internal Dictionary<string, IAppIdentityResource> WorkloadIdentities { get; } = [];
Aspire.Hosting.Foundry (5)
Project\CogSvcFunction.cs (3)
13internal static ManagedServiceIdentity GetManagedServiceIdentity(IAppIdentityResource resource) 32internal static ManagedServiceIdentity GetManagedServiceIdentity(IEnumerable<IAppIdentityResource> resources) 42foreach (var resource in resources)
Project\ProjectBuilderExtension.cs (1)
356if (aspireResource.TryGetAppIdentityResource(out var idResource) && idResource is AzureUserAssignedIdentityResource identityResource)
Project\ProjectResource.cs (1)
276public bool TryGetAppIdentityResource([NotNullWhen(true)] out IAppIdentityResource? identity)