This is a feature request for Anthropic's 'claude-code' repository, asking for support for AWS Bedrock and AWS SSO within the `claude remote-control` functionality. Currently, users accessing Claude Code via AWS Bedrock cannot use remote control because it requires a direct Anthropic account session token, which they don't have. The request highlights significant business impact for enterprise users relying on AWS for security and unified credential management.
A starter prompt for Claude Code, what you'll need, and how to reach them.
You are an expert full-stack developer. The user wants to add support for AWS Bedrock and AWS SSO authentication to the `claude remote-control` feature in the `anthropics/claude-code` open-source project. The current `remote-control` handshake requires an Anthropic account session token, which Bedrock users lack. Your task is to implement a solution within a fork of the existing codebase.Focus on providing a detailed plan and the core code changes for the authentication flow. Use Typescript/Node.js, as that is the likely existing stack of `claude-code`.Leverage the AWS SDK for JavaScript/TypeScript to interact with Bedrock and potentially resolve AWS SSO credentials.Design a secure mechanism to obtain or simulate the necessary session token for `remote-control` using Bedrock/SSO credentials without direct Anthropic login.Prioritize a solution that integrates cleanly with the existing architecture and respects security best practices for enterprise environments.Start by outlining the authentication flow changes, then provide pseudocode or actual code snippets for the core logic. Clearly define the MVP as: successful initiation of a `claude remote-control` session by a user authenticated via `aws sso login` and using `CLAUDE_CODE_USE_BEDROCK=1`, without prompting for an Anthropic session token.Provide detailed steps to verify this functionality. Think step-by-step and explain your reasoning for each design choice.
Reach out to developers and AI engineers using Claude Code via AWS Bedrock, highlighting how you can solve their 'remote-control' blocking issue and offer your AI agent tooling, Claude certification prep, or AI usage monitoring solutions.
### Preflight Checklist - [x] I have searched [existing requests](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20label%3Aenhancement) and this feature hasn't been requested yet - [x] This is a single feature request (not multiple features) ### Problem Statement ### Current Behavior When a user running Claude Code via AWS Bedrock attempts to start a Remote Control session, they are blocked at the authentication layer. The Remote Control handshake requires an Anthropic account session token — which Bedrock users do not have, and cannot obtain without signing up for a separate consumer plan. **Blocked flow** `aws sso login → CLAUDE_CODE_USE_BEDROCK=1 → claude remote-control → ❌ Requires Anthropic login` ### Who Is Affected Enterprise and team users who access Claude Code through AWS Bedrock under corporate AWS accounts Developers and data engineers using AWS SSO / IAM Identity Center for unified credential management Organizations with security policies that prohibit direct Anthropic account creation for individual developers AWS-native teams who have already invested in Bedrock-based Claude Code setup and want feature parity ### Business Impact Remote Control is a hi
Existing AWS setup; familiar with Bedrock APIs.
Understanding AWS SSO credential management and integration – ~half a day.
Learn it: AWS docs ↗
Get set up: Create an AWS account → an IAM user with least-privilege keys → configure the AWS CLI.
Standard for OSS contributions.
Standard development environment.
Comment on the GitHub issue (issue #28795 on `anthropics/claude-code`), stating your intent to work on it, then open a draft Pull Request once you have a working solution.
“I've prototyped a solution to enable `claude remote-control` with AWS Bedrock and AWS SSO, addressing the authentication block described in issue #28795. I have a working proof-of-concept that integrates with existing AWS credentials. I'll open a draft PR shortly for review.”
Open the original ↗