-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
GPT-3-Love-Letter-Generator/server.py
Line 7 in 81a0dc9
openai.api_key = "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" |
Howdy,
Do not expose your API key in your source code.
Instead, consider storing it an environment variable, or using a key management service, or even software such as Vault.
Then be sure to rotate your API key after it is safely stored, or else it may still be recoverable in your commit history.
Also, see Openai's best practices page for api keys for more details:
https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety
Metadata
Metadata
Assignees
Labels
No labels