8 references to PrimaryApiKey
Aspire.Dashboard (8)
Components\Dialogs\McpServerDialog.razor.cs (1)
69_mcpConfigProperties.Add(new McpConfigPropertyViewModel { Name = $"{McpApiKeyAuthenticationHandler.ApiKeyHeaderName} (header)", Value = DashboardOptions.Value.Mcp.PrimaryApiKey! });
Components_Dialogs_McpServerDialog_razor.g.cs (4)
562DashboardOptions.Value.Mcp.PrimaryApiKey 625FluentUIExtensions.GetClipboardCopyAdditionalAttributes(DashboardOptions.Value.Mcp.PrimaryApiKey, ControlsStringsLoc[nameof(ControlsStrings.GridValueCopyToClipboard)], ControlsStringsLoc[nameof(ControlsStrings.GridValueCopied)]) 1100DashboardOptions.Value.Mcp.PrimaryApiKey 1163FluentUIExtensions.GetClipboardCopyAdditionalAttributes(DashboardOptions.Value.Mcp.PrimaryApiKey, ControlsStringsLoc[nameof(ControlsStrings.GridValueCopyToClipboard)], ControlsStringsLoc[nameof(ControlsStrings.GridValueCopied)])
Configuration\DashboardOptions.cs (2)
184_primaryApiKeyBytes = PrimaryApiKey != null ? Encoding.UTF8.GetBytes(PrimaryApiKey) : null;
Configuration\ValidateDashboardOptions.cs (1)
106if (string.IsNullOrEmpty(options.Mcp.PrimaryApiKey))