Reputation: 1
I have a project with API KEY How can I upload it to Github and hide api key? And of course if download the project it will still run normal.
Upvotes: 0
Views: 38
Reputation: 1808
A common way to do that is using environment variables. And adding the path to the file containing them to the .gitignore
file to avoid sending them to git
Upvotes: 1