3 writes to Key
Aspire.Milvus.Client (1)
MilvusClientSettings.cs (1)
60
Key
= connectionBuilder[ConnectionStringApiKey].ToString();
Aspire.Milvus.Client.Tests (2)
AspireMilvusExtensionTests.cs (2)
65
builder.AddKeyedMilvusClient(DefaultKeyName, settings => { settings.Endpoint = new Uri("http://localhost:19530"); settings.
Key
= DefaultApiKey; });
69
builder.AddMilvusClient(DefaultKeyName, settings => { settings.Endpoint = new Uri("http://localhost:19530"); settings.
Key
= DefaultApiKey; });
3 references to Key
Aspire.Milvus.Client (3)
AspireMilvusExtensions.cs (3)
104
if (settings.Endpoint is not null && settings.
Key
is not null)
106
return new MilvusClient(settings.Endpoint, apiKey: settings.
Key
, database: settings.Database, loggerFactory: serviceProvider.GetRequiredService<ILoggerFactory>());
112
$"{nameof(settings.Endpoint)} and {nameof(settings.
Key
)} must both be provided " +