I am building a system that use some tokens and keys to access services, but where is the best place to store then? I want to push to github without pushing the tokens.
Currenctly i placed then into a blank file named Constants.py and in the main python file i make an import Constants
Constants.py:
API_KEY_SERVICE = "ABC123ABC"
Main.py:
import Constants
service_key = Constants.API_KEY_SENDGRID