Skip to content

feat: add managed Bedrock login API#31327

Merged
celia-oai merged 3 commits into
mainfrom
codex/managed-bedrock-api
Jul 10, 2026
Merged

feat: add managed Bedrock login API#31327
celia-oai merged 3 commits into
mainfrom
codex/managed-bedrock-api

Conversation

@celia-oai

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

Copy link
Copy Markdown
Contributor

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. feat: add managed Bedrock login API #31327 Managed Bedrock experimental API — base: main
  2. feat: add managed Amazon Bedrock login #31326 Managed Bedrock login — base: codex/managed-bedrock-api
  3. feat: implement managed Bedrock logout #31325 Managed Bedrock logout — base: codex/managed-bedrock-login-v2

@celia-oai
celia-oai force-pushed the codex/provider-auth-foundation branch from 92e0751 to 7c28baa Compare July 7, 2026 19:17
@celia-oai
celia-oai force-pushed the codex/managed-bedrock-api branch 2 times, most recently 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
@celia-oai celia-oai changed the title [codex] Add managed Bedrock login API feat: add managed Bedrock login API Jul 8, 2026
@celia-oai
celia-oai force-pushed the codex/managed-bedrock-api branch from 159f579 to 7da3ba3 Compare July 8, 2026 23:49
@celia-oai

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 564b1abde2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/app-server/README.md
@celia-oai
celia-oai marked this pull request as ready for review July 9, 2026 01:05
@celia-oai
celia-oai requested a review from pakrym-oai July 9, 2026 23:36
@celia-oai
celia-oai merged commit b45fef0 into main Jul 10, 2026
35 checks passed
@celia-oai
celia-oai deleted the codex/managed-bedrock-api branch July 10, 2026 00:05
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants