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)
224resource.ApiKey = FoundryLocalService.ApiKey;
4 references to ApiKey
Aspire.Hosting.Azure.Tests (2)
FoundryExtensionsTests.cs (2)
84Assert.Null(resource.ApiKey); 101Assert.Equal(FoundryLocalService.ApiKey, localResource.ApiKey);
Aspire.Hosting.Foundry (2)
FoundryResource.cs (2)
69? ReferenceExpression.Create($"Endpoint={EmulatorServiceUri?.ToString()};Key={ApiKey}") 138yield return new("Key", ReferenceExpression.Create($"{ApiKey}"));