4 references to DashboardOtlpSecondaryApiKeyName
Aspire.Dashboard (1)
Configuration\ValidateDashboardOptions.cs (1)
92
errorMessages.Add($"SecondaryApiKey must not be empty when OTLP authentication mode is API key. Remove {DashboardConfigNames.
DashboardOtlpSecondaryApiKeyName
.ConfigKey} or specify a non-empty value.");
Aspire.Dashboard.Tests (3)
DashboardOptionsTests.cs (1)
412
Assert.Equal($"SecondaryApiKey must not be empty when OTLP authentication mode is API key. Remove {DashboardConfigNames.
DashboardOtlpSecondaryApiKeyName
.ConfigKey} or specify a non-empty value.", result.FailureMessage);
Integration\OtlpGrpcServiceTests.cs (1)
135
config[DashboardConfigNames.
DashboardOtlpSecondaryApiKeyName
.ConfigKey] = secondaryApiKey;
Integration\OtlpHttpServiceTests.cs (1)
168
Assert.Contains($"SecondaryApiKey must not be empty when OTLP authentication mode is API key. Remove {DashboardConfigNames.
DashboardOtlpSecondaryApiKeyName
.ConfigKey} or specify a non-empty value.", exception.Failures);