13 references to ApiKey
Aspire.Dashboard (2)
Authentication\OtlpCompositeAuthenticationHandler.cs (1)
44if (options.Otlp.AuthMode is OtlpAuthMode.ApiKey)
Configuration\ValidateDashboardOptions.cs (1)
72case OtlpAuthMode.ApiKey:
Aspire.Dashboard.Tests (11)
Integration\OtlpGrpcServiceTests.cs (6)
55config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString(); 77config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString(); 104config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString(); 132config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString(); 169["AuthMode"] = OtlpAuthMode.ApiKey.ToString(), 211["AuthMode"] = OtlpAuthMode.ApiKey.ToString(),
Integration\OtlpHttpServiceTests.cs (3)
106config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString(); 130config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString(); 158config[DashboardConfigNames.DashboardOtlpAuthModeName.ConfigKey] = OtlpAuthMode.ApiKey.ToString();
Integration\StartupTests.cs (2)
250initialData["Dashboard:Otlp:AuthMode"] = nameof(OtlpAuthMode.ApiKey); 258Assert.Equal(OtlpAuthMode.ApiKey, app.DashboardOptionsMonitor.CurrentValue.Otlp.AuthMode);