From fb5dfe3396d311d4873931a0a4ab26bf52936a9d Mon Sep 17 00:00:00 2001 From: Gabriel Peal Date: Wed, 3 Sep 2025 09:44:16 -0700 Subject: [PATCH] Update guidance on API key permissions (#3112) Fixes https://github.com/openai/codex/issues/3108 --- docs/authentication.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/authentication.md b/docs/authentication.md index d318be70..5eb52040 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -8,6 +8,8 @@ If you prefer to pay-as-you-go, you can still authenticate with your OpenAI API export OPENAI_API_KEY="your-api-key-here" ``` +This key must, at minimum, have write access to the Responses API. + ## Migrating to ChatGPT login from API key If you've used the Codex CLI before with usage-based billing via an API key and want to switch to using your ChatGPT plan, follow these steps: @@ -85,4 +87,4 @@ If you run Codex on a remote machine (VPS/server) without a local browser, the l ssh -L 1455:localhost:1455 @ ``` -Then, in that SSH session, run `codex` and select "Sign in with ChatGPT". When prompted, open the printed URL (it will be `http://localhost:1455/...`) in your local browser. The traffic will be tunneled to the remote server. \ No newline at end of file +Then, in that SSH session, run `codex` and select "Sign in with ChatGPT". When prompted, open the printed URL (it will be `http://localhost:1455/...`) in your local browser. The traffic will be tunneled to the remote server.