OpenAI
OpenAIAI API1 credential
API Key
openai / api-key
OpenAI API keys authenticate requests to the OpenAI API. OpenAI's quickstart instructs users to create an API key, store it securely, and export it as OPENAI_API_KEY for SDK and CLI use.
Looks like
examplesk-proj-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXsk-svcacct-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXsk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXLocation
OPENAI_API_KEYAuthorizationBearer token used by OpenAI API calls
application config, examples, notebooks, CLI scripts, committed .env files
.env, deployment manifests, serverless settings, local shell profiles
CI/CD variables, cloud secret managers, platform environment stores
request dumps or debug logs that include Authorization headers
Notes
OpenAI API keys are bearer credentials. Treat exposure according to the project, organization, and permissions attached to the key, and rotate any key that appears in source code, logs, notebooks, or shared deployment configuration.
Scope
Authorized use
LOLCreds helps map the credential surface of real products: known defaults, generated values, credential locations, and exposure patterns.