Update guidance on API key permissions (#3112)

Fixes https://github.com/openai/codex/issues/3108
This commit is contained in:
Gabriel Peal
2025-09-03 09:44:16 -07:00
committed by GitHub
parent a56eb48195
commit fb5dfe3396

View File

@@ -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" 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 ## 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: 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: