Skip to content

[codex] Add managed Bedrock login API#31327

Draft
celia-oai wants to merge 1 commit into
mainfrom
codex/managed-bedrock-api
Draft

[codex] Add managed Bedrock login API#31327
celia-oai wants to merge 1 commit into
mainfrom
codex/managed-bedrock-api

Conversation

@celia-oai

@celia-oai celia-oai commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Why

App-server clients can report whether Amazon Bedrock is using AWS-managed credentials or a Codex-managed API key, but they do not have a matching API for creating the managed login. This PR defines that experimental wire contract independently from its implementation.

Managed Bedrock API keys are already a primary CodexAuth mode. The API therefore describes a normal Codex login that replaces the current stored auth rather than introducing provider-scoped credential storage.

What changed

  • Add the experimental amazonBedrock variant to account/login/start.
  • Accept an API key and AWS region and return a matching discriminated response.
  • Gate the request behind the app-server experimentalApi capability.
  • Regenerate the JSON and TypeScript protocol schemas.
  • Document the login contract, notifications, primary-auth replacement semantics, restart boundary, and non-transactional durable writes.

Impact

This PR defines the API shape but does not implement login behavior. The next PR adds validation, persistence through the existing Codex auth lifecycle, provider selection, and notifications.

Validation

  • just test -p codex-app-server-protocol

Stack

  1. [codex] Add managed Bedrock login API #31327 Managed Bedrock experimental API — base: main
  2. [codex] Implement managed Bedrock login #31326 Managed Bedrock login — base: codex/managed-bedrock-api
  3. [codex] Implement managed Bedrock logout #31325 Managed Bedrock logout — base: codex/managed-bedrock-login-v2

@celia-oai celia-oai force-pushed the codex/managed-bedrock-api branch from 35ebf5d to b16785d Compare July 8, 2026 00:16
@celia-oai celia-oai changed the base branch from codex/provider-auth-foundation to main July 8, 2026 00:16
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