ARC supports all Claude Code authentication methods, with the same auth types available for any agent tool profile.
Sign in with a browser account. This is the default for Claude Code.
arc create personal --tool claude --auth-type oauth
arc launch personal # Browser window opens on first runCredentials are stored in ~/.arc/profiles/<name>/.credentials.json and refreshed automatically by the agent tool.
Use a provider API key. Keys are stored in the OS keyring when available, with a plaintext file fallback.
arc create work --tool claude --auth-type api-key
arc set-key work # Prompts for key and saves it
arc create gemini-work --tool gemini --auth-type api-key
arc set-key gemini-workYou can also pass the key directly via an env var:
arc set-key work --from-env ANTHROPIC_API_KEYARC uses @napi-rs/keyring to store keys securely in:
- macOS — Keychain
- Windows — Credential Manager
- Linux — Secret Service (libsecret)
Keyring service name format: arc/<profile-name>
If the native keyring is unavailable, the key falls back to ~/.arc/profiles/<name>/.api-key.
Use Claude through AWS Bedrock. Requires AWS credentials.
arc create aws --tool claude --auth-type bedrockARC sets CLAUDE_CODE_USE_BEDROCK=1 when launching. Configure credentials via standard AWS environment variables:
| Variable | Description |
|---|---|
AWS_ACCESS_KEY_ID |
AWS access key |
AWS_SECRET_ACCESS_KEY |
AWS secret key |
AWS_PROFILE |
Named AWS profile from ~/.aws/credentials |
AWS_REGION |
AWS region |
Use Claude through Google Cloud Vertex AI.
arc create gcp --tool claude --auth-type vertexARC sets CLAUDE_CODE_USE_VERTEX=1. Configure credentials via:
| Variable | Description |
|---|---|
GOOGLE_APPLICATION_CREDENTIALS |
Path to service account JSON |
CLOUD_ML_REGION |
Vertex AI region |
ANTHROPIC_VERTEX_PROJECT_ID |
GCP project ID |
Use Claude through Anthropic Foundry.
arc create foundry-prod --tool claude --auth-type foundryARC sets CLAUDE_CODE_USE_FOUNDRY=1. Required variables:
| Variable | Description |
|---|---|
FOUNDRY_API_KEY |
Foundry API key |
ANTHROPIC_FOUNDRY_BASE_URL |
Foundry endpoint base URL |
ANTHROPIC_FOUNDRY_RESOURCE |
Foundry resource name |
When launching a profile, ARC explicitly unsets all auth-related environment variables from the parent shell before injecting the profile's values. This prevents credentials from a different profile leaking into the child process.
Variables cleared before every launch:
CLAUDE_CODE_USE_BEDROCKCLAUDE_CODE_USE_VERTEXCLAUDE_CODE_USE_FOUNDRYANTHROPIC_API_KEYANTHROPIC_BASE_URLANTHROPIC_FOUNDRY_BASE_URLANTHROPIC_FOUNDRY_RESOURCE