4 references to DashboardOtlpSecondaryApiKeyName
Aspire.Dashboard (1)
Configuration\ValidateDashboardOptions.cs (1)
92errorMessages.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)
412Assert.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)
135config[DashboardConfigNames.DashboardOtlpSecondaryApiKeyName.ConfigKey] = secondaryApiKey;
Integration\OtlpHttpServiceTests.cs (1)
168Assert.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);