Document static header injection outgoing auth in vMCP#892
Merged
Conversation
Add a section to the vMCP authentication guide describing the headerInjection outgoing auth strategy: when to use it, the Secret + MCPExternalAuthConfig pair, how to wire it into a VirtualMCPServer via inline or discovered source, and the Authorization: Bearer variant. Notes that values must come from a Secret and that backend pods need a restart to pick up rotations.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds user-facing documentation for the headerInjection outgoing auth strategy in the vMCP authentication guide, covering when to use it and how to configure it via a Secret + MCPExternalAuthConfig, with examples for wiring that config into VirtualMCPServer.
Changes:
- Documented the
headerInjectionoutgoing auth strategy and recommended use cases. - Added end-to-end YAML examples for Secret,
MCPExternalAuthConfig, andVirtualMCPServerreferences (includingAuthorization: Bearer <token>guidance). - Clarified constraints around sourcing header values from Kubernetes Secrets and briefly described rotation.
tgrunnagle
previously approved these changes
May 21, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
tgrunnagle
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a section to the Virtual MCP Server authentication guide documenting the
headerInjectionoutgoing auth strategy. Until now, this strategy existed in the CRD but had no user-facing docs, so users had no guidance on when to use it or how to wire it up.The new section covers:
headerInjection(pre-issued API keys, static bearer tokens, single shared SaaS credentials)MCPExternalAuthConfigpair, with full YAML examplesVirtualMCPServerviaoutgoingAuth.source: inline, plus a note about thediscoveredalternativeAuthorization: Bearer <token>variant (store the full prefixed string in the Secret)Type of change
Related issues/PRs
Submitter checklist
Content and formatting
🤖 Generated with Claude Code