Skip to content
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

Keeping Your OpenAI API Key Secure #1

Open
RohanTyagi7 opened this issue Dec 4, 2024 · 0 comments
Open

Keeping Your OpenAI API Key Secure #1

RohanTyagi7 opened this issue Dec 4, 2024 · 0 comments

Comments

@RohanTyagi7
Copy link

Hey jimseah-0116! Your OpenAI API Key seems to be publicly accessible to anyone viewing your code on the "TeleGPT.py" file. This risks other GitHub users accessing the API with your credentials, using up API credits and possibly costing you money. Try using a ".env" file for this API key and read it in the python file from the env file. Please view the following website for more information on how to use a more secure method of storing API keys with env files: https://medium.com/@oadaramola/a-pitfall-i-almost-fell-into-d1d3461b2fb8. glhf!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant