Answer: Use `--provider amazon-bedrock` with a Bedrock model ID and AWS credentials (no `--auth`, OpenAI login, or OpenAI API key needed). You can authenticate with an AWS profile, `AWS_BEARER_TOKEN_BEDROCK`, or the standard AWS credential chain, and temporary access keys require `AWS_SESSION_TOKEN`. Status: Confirmed Entry: tool/codex/permissions-and-security/bedrock-authentication Revision: 3 Digest: sha256:923760288b06cfb4 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:53:13Z Last changed: 2026-11-19T13:32:03Z (region env var: — → AWS_REGION) Last verified: 2026-11-20T13:41:46Z Next check: 2026-11-21T13:41:46Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of provider flag | --provider amazon-bedrock | [1] | 2026-11-20 authentication method | AWS credentials | [1] | 2026-11-20 bearer token env var | AWS_BEARER_TOKEN_BEDROCK | [1] | 2026-11-20 session token env var | AWS_SESSION_TOKEN | [1] | 2026-11-20 region env var | AWS_REGION | [1] | 2026-11-20 Daybreak Blue model ID | openai.gpt-daybreak-blue-5.6-sol | [1] | 2026-11-20 Daybreak Red model ID | openai.gpt-5.6-cyber | [1] | 2026-11-20 Sources: [1] OpenAI. "Codex Security CLI reference". https://learn.chatgpt.com/docs/security/cli/reference.md Role: primary. Accessed: 2026-11-20T13:41:46Z Quote: "Use `--provider amazon-bedrock` and a Bedrock model ID with `scan` or" (Supports: provider flag) Quote: "Bedrock scans use AWS credentials" (Supports: authentication method) Quote: "You can also authenticate with `AWS_BEARER_TOKEN_BEDROCK` or the standard" (Supports: bearer token env var) Quote: "Temporary access keys require `AWS_SESSION_TOKEN`." (Supports: session token env var) Quote: "Set credentials and `AWS_REGION` in the same shell or CI job as the scan." (Supports: region env var) Quote: "| Daybreak Blue | `openai.gpt-daybreak-blue-5.6-sol` | `us-east-2` |" (Supports: Daybreak Blue model ID) Quote: "| Daybreak Red | `openai.gpt-5.6-cyber` | `us-east-2` |" (Supports: Daybreak Red model ID) Snapshot SHA-256: 7918173e808c58c5324c5881fc074e87b7b9ec1476aa9f129f0bb5d32b9c5a2b (captured 2026-11-19T13:32:01Z) 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-19T13:32:03Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:41:46Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:41:46Z Last attempt: 2026-11-20T13:41:46Z Notes and limitations: Extracted automatically from a single official source (section "Use Amazon Bedrock"). Related: https://latestn.com/tool/codex/permissions-and-security/choose-security-scan-method How do I choose between Daybreak Defense Factory and the Codex Security plugin for scanning code? https://latestn.com/tool/codex/permissions-and-security/ci-severity-policy How do I choose a severity policy for Codex Security findings in CI? https://latestn.com/tool/codex/permissions-and-security/cloud-internet-access-settings How do I enable or disable internet access for the Codex agent in cloud chats? https://latestn.com/tool/codex/permissions-and-security/approval-policies-sandbox-modes How do I configure approval policies and sandbox modes in Codex? https://latestn.com/tool/codex/permissions-and-security/approve-requests-mobile How do I approve Codex action requests from my phone? https://latestn.com/tool/codex/permissions-and-security/auto-review-blocked-actions What does Codex Auto-review block and what does the reviewer see? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:32:03Z | changed | region env var: — → AWS_REGION | [1] 2026-11-19T13:32:03Z | changed | session token env var: — → AWS_SESSION_TOKEN | [1] 2026-11-19T13:32:03Z | changed | bearer token env var: — → AWS_BEARER_TOKEN_BEDROCK | [1] 2026-11-19T13:32:03Z | changed | authentication method: — → AWS credentials | [1] 2026-11-19T13:32:03Z | changed | provider flag: — → --provider amazon-bedrock | [1] 2026-11-19T13:32:03Z | changed | AWS region: us-east-2 → — | [1] 2026-11-19T13:32:03Z | changed | Temporary key requirement: AWS_SESSION_TOKEN → — | [1] 2026-11-19T13:32:03Z | changed | Alternative token: AWS_BEARER_TOKEN_BEDROCK → — | [1] 2026-11-19T13:32:03Z | changed | Authentication method: AWS credentials → — | [1] 2026-11-19T13:32:03Z | changed | Provider flag: --provider amazon-bedrock → — | [1] 2026-11-17T14:06:54Z | changed | Temporary key requirement: — → AWS_SESSION_TOKEN | [1] 2026-11-17T14:06:54Z | changed | Alternative token: — → AWS_BEARER_TOKEN_BEDROCK | [1] 2026-11-17T14:06:54Z | changed | Authentication method: — → AWS credentials | [1] 2026-11-17T14:06:54Z | changed | Provider flag: — → --provider amazon-bedrock | [1] 2026-11-17T14:06:54Z | changed | temporary key requirement: AWS_SESSION_TOKEN → — | [1] 2026-11-17T14:06:54Z | changed | credential chain: standard AWS credential chain → — | [1] 2026-11-17T14:06:54Z | changed | authentication method: AWS_BEARER_TOKEN_BEDROCK → — | [1] 2026-11-17T14:06:54Z | changed | provider flag: --provider amazon-bedrock → — | [1] 2026-11-13T03:53:13Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/permissions-and-security/bedrock-authentication/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/permissions-and-security/bedrock-authentication POST: https://latestn.com/dispute/tool/codex/permissions-and-security/bedrock-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/permissions-and-security/bedrock-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate Codex Security scans with Amazon Bedrock? Revision 3, last verified 2026-11-20T13:41:46Z. https://latestn.com/tool/codex/permissions-and-security/bedrock-authentication (accessed 2026-11-21T09:57:20Z). @misc{LatestN_tool_codex_permissions_and_security_bedrock_authentication_r3, title = {How do I authenticate Codex Security scans with Amazon Bedrock?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/permissions-and-security/bedrock-authentication}}, note = {Revision 3; digest sha256:923760288b06cfb4; last verified 2026-11-20T13:41:46Z; accessed 2026-11-21T09:57:20Z} } 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/permissions-and-security/bedrock-authentication