Back to all terms
23Backend & dataCommon trap
API Key
API key
The secret that proves who you are when calling someone else's API. Never publish it.
For example
I keep the OpenAI API key in a .env file.
Resources
Copy prompt
Show me how to keep API keys out of source control, with a .env example and .gitignore.
Related terms
See all