Answer: To set up Codex with Amazon Bedrock, start `codex` and on the sign-in screen choose **Use Amazon Bedrock**, then choose a detected AWS profile or credentials (or a credential method such as AWS profile, AWS access keys, environment variables, or Bedrock API key) and enter the AWS Region when prompted. For manual configuration, edit `~/.codex/config.toml` and set `model_provider = "amazon-bedrock-runtime"` for Bedrock Runtime (or `amazon-bedrock` for Bedrock Mantle). Status: Confirmed Entry: tool/codex/integrations/set-up-codex-amazon-bedrock Revision: 1 Digest: sha256:47213aa9f50ceae2 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:47:16Z Last changed: 2026-11-13T03:47:16Z Last verified: 2026-11-20T13:34:54Z Next check: 2026-11-21T13:34:54Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of CLI sign-in option | Use Amazon Bedrock | [1] | 2026-11-20 Manual config file | ~/.codex/config.toml | [1] | 2026-11-20 Runtime provider setting | amazon-bedrock-runtime | [1] | 2026-11-20 Mantle provider setting | amazon-bedrock | [1] | 2026-11-20 Bedrock API key env var | AWS_BEARER_TOKEN_BEDROCK | [1] | 2026-11-20 Region env var | AWS_REGION | [1] | 2026-11-20 Desktop/IDE env file | ~/.codex/.env | [1] | 2026-11-20 Sources: [1] OpenAI. "Use ChatGPT Work and Codex with Amazon Bedrock". https://learn.chatgpt.com/docs/amazon-bedrock.md Role: primary. Accessed: 2026-11-20T13:34:54Z Quote: "On the sign-in screen, choose **Use Amazon Bedrock**." (Supports: CLI sign-in option) Quote: "edit `~/.codex/config.toml`" (Supports: Manual config file) Quote: "model_provider = "amazon-bedrock-runtime"" (Supports: Runtime provider setting) Quote: "The `amazon-bedrock` provider selects Mantle; `amazon-bedrock-runtime` selects Runtime." (Supports: Mantle provider setting) Quote: "export AWS_BEARER_TOKEN_BEDROCK=""" (Supports: Bedrock API key env var) Quote: "export AWS_REGION=us-east-2" (Supports: Region env var) Quote: "Put required values in `~/.codex/.env`, then restart the app or extension." (Supports: Desktop/IDE env file) Snapshot SHA-256: db67908cf432b12990d1eb9039cbf5d0815a6e6d073713ae63027e2d7aadbddb (captured 2026-11-13T03:47:16Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:47:16Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:34:54Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:34:54Z Last attempt: 2026-11-20T13:34:54Z Notes and limitations: Extracted automatically from a single official source (section "Set up Codex with Amazon Bedrock"). Related: https://latestn.com/tool/codex/integrations/set-up-linear-integration How do I set up the Codex integration in Linear? https://latestn.com/tool/codex/integrations/setup-automatic-codex-review How do I set up automatic Codex code reviews for a GitHub pull request? https://latestn.com/tool/codex/integrations/triage-finding-sources What finding sources can I use with Codex backlog triage? https://latestn.com/tool/codex/integrations/request-codex-review-gitlab-mr How do I request a Codex review on a GitLab merge request? https://latestn.com/tool/codex/integrations/save-reports-upload-sarif How do I save Codex Security reports and upload SARIF in GitHub Actions? https://latestn.com/tool/codex/integrations/scan-pull-request-changes How do I set up a Codex Security workflow to scan pull-request changes in GitHub Actions? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:47:16Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/integrations/set-up-codex-amazon-bedrock/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/integrations/set-up-codex-amazon-bedrock POST: https://latestn.com/dispute/tool/codex/integrations/set-up-codex-amazon-bedrock with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/integrations/set-up-codex-amazon-bedrock?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set up Codex to use Amazon Bedrock as its model provider? Revision 1, last verified 2026-11-20T13:34:54Z. https://latestn.com/tool/codex/integrations/set-up-codex-amazon-bedrock (accessed 2026-11-21T09:59:33Z). @misc{LatestN_tool_codex_integrations_set_up_codex_amazon_bedrock_r1, title = {How do I set up Codex to use Amazon Bedrock as its model provider?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/integrations/set-up-codex-amazon-bedrock}}, note = {Revision 1; digest sha256:47213aa9f50ceae2; last verified 2026-11-20T13:34:54Z; accessed 2026-11-21T09:59:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/integrations/set-up-codex-amazon-bedrock