DevFollow
DevFollow

Reputation: 1

Is it possible to hide APIKEY and still run normal?

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

Answers (1)

Toni Bardina Comas
Toni Bardina Comas

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

Related Questions