3 writes to Key
Aspire.Milvus.Client (1)
MilvusClientSettings.cs (1)
60Key = connectionBuilder[ConnectionStringApiKey].ToString();
Aspire.Milvus.Client.Tests (2)
AspireMilvusExtensionTests.cs (2)
65builder.AddKeyedMilvusClient(DefaultKeyName, settings => { settings.Endpoint = new Uri("http://localhost:19530"); settings.Key = DefaultApiKey; }); 69builder.AddMilvusClient(DefaultKeyName, settings => { settings.Endpoint = new Uri("http://localhost:19530"); settings.Key = DefaultApiKey; });
3 references to Key
Aspire.Milvus.Client (3)
AspireMilvusExtensions.cs (3)
104if (settings.Endpoint is not null && settings.Key is not null) 106return 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 " +