-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exposed API Key #13
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gesture2Vec/scripts/inference_text2embedding.py
Line 60 in 2533f92
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
The text was updated successfully, but these errors were encountered: