R
R
Renat Sagdeev2017-03-16 20:02:15
git
Renat Sagdeev, 2017-03-16 20:02:15

How to hide private key in Git?

Hello.
There is a small project that lies on heroku. I want to put it on github, but there is a file with a private key for writing to the firebase database.
So. How to do this so that the key is not shared? To push to heroku with a key, and to github without a key, only the code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-03-16
@feyak1n

https://devcenter.heroku.com/articles/config-vars#...
there should be no secrets in the repository

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question