Unverified60% confidenceCautionExact time
Users should not commit real API keys to code repositories, and should configure keys via environment variables.
2
Sources
60%
Confidence
Long-term
Relevance
10/12/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedAPI keys must stay on the server side, not be exposed in front-end JavaScript, and not be committed to public repositories.78% similarUnverifiedCredentials saved in `auth.json` by `codex login` are not sent to custom providers; a custom provider's API key must be passed through the environment variable specified by `env_key`, and the value of `env_key` is the variable name rather than the key itself.74% similarVerifiedAPI keys should remain on the backend rather than the frontend, because frontend code is completely transparent to users and any key embedded in it can be obtained via browser developer tools.72% similarUnverifiedA local API server does not require a real API key—any non-empty string can be used to bypass the client's format validation.68% similarUnverifiedClaude Code allows users to specify a custom API endpoint (Base URL) and key via environment variables or a configuration file (such as ~/.claude/settings.json).68% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1006880API
curl https://kongchang.com/api/v1/knowledge/claims/1006880MCP
get_claim(id=1006880)