Answer: In the environment configuration, select **Manage** beside **Environment variables** or **HTTP secrets**, then choose whether to supply each value as an Environment variable (passed directly to programs) or a Network secret (a credential sent to a specific HTTPS service). For network secrets, set **Key**, **Value**, and **Allowed domains**, using a different key from any direct variable. Status: Confirmed Entry: tool/codex/settings/configure-env-vars-secrets Revision: 1 Digest: sha256:ab900463e6ff0a03 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:50:59Z Last changed: 2026-11-13T03:50:59Z Last verified: 2026-11-20T13:39:16Z Next check: 2026-11-21T13:39:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Where to configure | Manage | [1] | 2026-11-20 Environment variable delivery | Passed directly to programs in the environment. | [1] | 2026-11-20 Network secret delivery | Programs receive a placeholder; the proxy substitutes the real value for allowed destinations. | [1] | 2026-11-20 Network secret settings | Key | [1] | 2026-11-20 Network secret key rule | Use a different key from any direct variable. | [1] | 2026-11-20 Substitution port | 443 | [1] | 2026-11-20 Sources: [1] OpenAI. "Cloud environments". https://learn.chatgpt.com/docs/environments/cloud-environments.md Role: primary. Accessed: 2026-11-20T13:39:16Z Quote: "select **Manage** beside **Environment variables** or **HTTP secrets**" (Supports: Where to configure) Quote: "Passed directly to programs in the environment." (Supports: Environment variable delivery) Quote: "Programs receive a placeholder; the proxy substitutes the real value for allowed destinations." (Supports: Network secret delivery) Quote: "For network secrets, set **Key**, **Value**, and **Allowed domains**." (Supports: Network secret settings) Quote: "Use a different key from any direct variable." (Supports: Network secret key rule) Quote: "Substitution works for HTTPS on port 443," (Supports: Substitution port) Snapshot SHA-256: 7484b5e0afff2db75cfd72a9108a09966b84503fcfd6556a9cae2c5a017ad25d (captured 2026-11-13T03:50:57Z) 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:50:59Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:39:16Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:39:16Z Last attempt: 2026-11-20T13:39:16Z Notes and limitations: Extracted automatically from a single official source (section "Configure environment variables and network secrets"). Related: https://latestn.com/tool/codex/settings/configure-local-web-search-custom-provider How do I configure local web search in Codex with a custom model provider? https://latestn.com/tool/codex/settings/configure-reviewer-policy How do I configure the Codex Auto-review reviewer policy? https://latestn.com/tool/codex/settings/configure-setup-script How do I configure a setup script for Codex local environments? https://latestn.com/tool/codex/settings/configure-cli-notifications How do I configure CLI notifications in Codex? https://latestn.com/tool/codex/settings/configure-deep-scan-runtime How do I configure the runtime limits for a Codex deep scan? https://latestn.com/tool/codex/settings/configure-default-local-model How do I configure my default local model in Codex? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:50:59Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/settings/configure-env-vars-secrets/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/settings/configure-env-vars-secrets POST: https://latestn.com/dispute/tool/codex/settings/configure-env-vars-secrets with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/settings/configure-env-vars-secrets?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure environment variables and network secrets for a Codex Cloud environment? Revision 1, last verified 2026-11-20T13:39:16Z. https://latestn.com/tool/codex/settings/configure-env-vars-secrets (accessed 2026-11-21T10:00:03Z). @misc{LatestN_tool_codex_settings_configure_env_vars_secrets_r1, title = {How do I configure environment variables and network secrets for a Codex Cloud environment?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/settings/configure-env-vars-secrets}}, note = {Revision 1; digest sha256:ab900463e6ff0a03; last verified 2026-11-20T13:39:16Z; accessed 2026-11-21T10:00:03Z} } 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/settings/configure-env-vars-secrets