[docs] Document ANTHROPIC_AUTH_TOKEN protection in API proxy isolation#6414
Conversation
Update authentication-architecture.md to explicitly mention ANTHROPIC_AUTH_TOKEN alongside ANTHROPIC_API_KEY in the security design warning. This reflects the recent changes in PR #6410 that protect ANTHROPIC_AUTH_TOKEN through the same credential isolation mechanism. Related to commit 6d25856 (Protect `ANTHROPIC_AUTH_TOKEN` in AWF credential isolation paths). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Documents ANTHROPIC_AUTH_TOKEN as an API-proxy-isolated Anthropic credential.
Changes:
- Adds the token to the security design warning.
Show a summary per file
| File | Description |
|---|---|
docs/authentication-architecture.md |
Updates protected credential documentation. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
- Review effort level: Medium
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
✅ Copilot review passed with no inline comments. @github-actions[bot] Add the |
|
Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded. |
|
🚀 Security Guard has started processing this pull request |
|
🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅ |
|
✅ Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓 |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
✅ Build Test Suite completed successfully! |
|
📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅ |
|
📰 VERDICT: Smoke Docker Sbx has concluded. All systems operational. This is a developing story. 🎤 |
|
🔌 Smoke Services — All services reachable! ✅ |
|
✅ Contribution Check completed successfully! PR #6414 is docs-only and satisfies the applicable contribution guidelines: the description is clear, references related work, and documentation was updated. No review comment needed. |
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
|
✅ Smoke Claude passed |
|
✅ Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓 |
|
✅ Smoke Gemini completed. All facets verified. 💎 |
|
✅ Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓 |
|
🔑 Smoke Copilot PAT PAT auth validated. All systems operational. ✅ |
|
Smoke test: Copilot network-isolation egress enforcement EGRESS_RESULT allow=pass deny=pass
Overall: PASS Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"
- "example.com"See Network Configuration for more information.
|
🔥 Smoke Test Results
Overall: PASS — core engine connectivity verified. cc Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
|
Smoke test results:
Warning Firewall blocked 2 domainsThe following domains were blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"
- "registry.npmjs.org"See Network Configuration for more information.
|
|
Smoke Test: Copilot BYOK (Direct) Mode - PASS ✅ GitHub MCP Connectivity Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY) via api-proxy → api.githubcopilot.com Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
|
Smoke Test Results
Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: Claude Engine Validation
Overall result: PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Chroot Version Comparison ✅
All runtimes match between host and chroot environments. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: Copilot BYOK (Direct) Mode
Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw) Overall: PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: Copilot PAT Auth
Overall: PARTIAL — workflow template vars not expanded; pre-step outputs missing. Auth mode: PAT (COPILOT_GITHUB_TOKEN) | Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: Services Connectivity
Overall: FAIL — Service containers unreachable (DNS + network unavailable in this sandbox). Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test Results\n- GitHub MCP: ❌ (Access Restricted)\n- GitHub Connectivity: ❌ (Status 000)\n- File Writing: ✅\n- Bash Tools: ✅\n\nOverall status: FAILWarning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "localhost"See Network Configuration for more information.
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
Smoke Test: API Proxy OpenTelemetry Tracing
Summary: Core OTEL implementation is healthy. Scenarios 3 and 5 are pending wiring — expected during active development. Warning Firewall blocked 1 domainThe following domain was blocked by the firewall during workflow execution:
network:
allowed:
- defaults
- "awmgmcpg"See Network Configuration for more information.
|
🔬 Smoke Test Results — Docker Sbx
Overall: cc
|
Summary
This PR updates the authentication-architecture.md documentation to explicitly document that ANTHROPIC_AUTH_TOKEN is protected alongside ANTHROPIC_API_KEY through the API proxy credential isolation mechanism.
Background
Recent code changes (PR #6410) extended credential protection to include ANTHROPIC_AUTH_TOKEN in addition to ANTHROPIC_API_KEY. The API proxy now excludes both tokens from the agent container environment, keeping them isolated in the api-proxy sidecar only.
Changes
The update clarifies that both Anthropic authentication tokens are protected through the same credential isolation mechanism:
Verification
✓ Reviewed recent commits for credential protection changes
✓ Checked docs/authentication-architecture.md for consistency
✓ Verified existing references to ANTHROPIC_AUTH_TOKEN in other docs (api-proxy-sidecar.md, awf-config-spec.md, token-unsetting-fix.md)
✓ Minimal, targeted update to the specific affected line
Related
ANTHROPIC_AUTH_TOKENin AWF credential isolation paths (ProtectANTHROPIC_AUTH_TOKENin AWF credential isolation paths #6410)"Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
awmgmcpgSee Network Configuration for more information.