3 writes to ApiKey
Aspire.Hosting.Azure.Tests (2)
FoundryConnectionPropertiesTests.cs (1)
41aiFoundry.Resource.ApiKey = "OPENAI_KEY";
FoundryDeploymentConnectionPropertiesTests.cs (1)
22deployment.Resource.Parent.ApiKey = "OPENAI_KEY";
Aspire.Hosting.Foundry (1)
FoundryExtensions.cs (1)
293resource.ApiKey = FoundryLocalService.ApiKey;
4 references to ApiKey
Aspire.Hosting.Azure.Tests (2)
FoundryExtensionsTests.cs (2)
80Assert.Null(resource.ApiKey); 96Assert.Equal(FoundryLocalService.ApiKey, localResource.ApiKey);
Aspire.Hosting.Foundry (2)
FoundryResource.cs (2)
65? ReferenceExpression.Create($"Endpoint={EmulatorServiceUri?.ToString()};Key={ApiKey}") 134yield return new("Key", ReferenceExpression.Create($"{ApiKey}"));