Hiding a json file
i have a json file that i dont want anyone to see, how would i do that
EDIT 1: its the firebase admin sdk json file for python
If you're using a programming language that supports it on replit (example: Python), you can use replit db to store the raw json string as a dictionary. No one can see it unless you print it out to the console, or something like that.
You can minify the JSON down to a single line, put that into a
.env file, then in your code, get it from there, parse the JSON and voilá you can use it in your code
Working python repl: