Skip to content

docs(agents): add authentication guide for Claude Code#20

Open
rmoff wants to merge 1 commit intoharbor-framework:mainfrom
rmoff:feat-claude-code-vertex-ai-docs
Open

docs(agents): add authentication guide for Claude Code#20
rmoff wants to merge 1 commit intoharbor-framework:mainfrom
rmoff:feat-claude-code-vertex-ai-docs

Conversation

@rmoff
Copy link

@rmoff rmoff commented Mar 18, 2026

Summary

Adds an Authentication section under Existing agents on the Agents docs page, documenting how to configure API credentials for Claude Code across all supported providers:

  • Environment variables — basic ANTHROPIC_API_KEY / OPENAI_API_KEY setup
  • Agent environment overrides — the --ae flag
  • AWS Bedrock — existing support, previously undocumented
  • Google Cloud Vertex AI — new support (requires companion code PR)
  • Custom API base URL — existing support, previously undocumented

Context

There was no documentation for how to authenticate agents with model providers. Users had to read source code or find the answer in closed PR descriptions (#605, #852). This was a common friction point — see issues like #937 (Bedrock env var mismatch) and #430 (custom endpoints).

Companion PR

Code change adding Vertex AI support to the Claude Code agent: harbor-framework/harbor#1225

Document how to configure API credentials for existing agents,
covering all supported providers:

- Environment variables (ANTHROPIC_API_KEY, OPENAI_API_KEY)
- Agent environment overrides (--ae flag)
- AWS Bedrock (existing but undocumented)
- Google Cloud Vertex AI (new, requires harbor-framework/harbor PR)
- Custom API base URL (existing but undocumented)

Companion to harbor-framework/harbor PR for Vertex AI code support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rmoff rmoff marked this pull request as ready for review March 18, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant