12 references to IdentityResource
Aspire.Hosting.Azure (2)
AzureResourcePreparer.cs (2)
196existingAppIdentityAnnotation.IdentityResource != identityResource) 273appIdentityAnnotation.IdentityResource is AzureUserAssignedIdentityResource existingAppIdentity)
Aspire.Hosting.Azure.AppContainers (2)
ContainerAppContext.cs (2)
68var appIdentityResource = appIdentityAnnotation.IdentityResource; 111AddAzureClientId(appIdentityAnnotation?.IdentityResource, containerAppContainer);
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
290var appIdentityResource = appIdentityAnnotation.IdentityResource;
Aspire.Hosting.Azure.Tests (5)
AzureUserAssignedIdentityTests.cs (5)
124Assert.Same(identity.Resource, identityAnnotation.IdentityResource); 170Assert.Same(identity.Resource, identityAnnotation.IdentityResource); 225Assert.Same(identity.Resource, identityAnnotation.IdentityResource); 305Assert.Same(identity.Resource, identityAnnotation.IdentityResource); 306Assert.Same(identity.Resource, identityAnnotation2.IdentityResource);
AzureAppService.AppHost (1)
Program.cs (1)
41context.EnvironmentVariables["AZURE_PRINCIPAL_NAME"] = identity.IdentityResource.PrincipalName;
AzureContainerApps.AppHost (1)
Program.cs (1)
52context.EnvironmentVariables["AZURE_PRINCIPAL_NAME"] = identity.IdentityResource.PrincipalName;