I'm building an integration with the Google URL Shortening API (in Ruby). According to their instructions on authenticating with OAuth2 you need to define an environment variable GOOGLE_APPLICATION_CREDENTIALS
that is the path to your JSON/P12 file with your service account credentials.
What I would like to know is how I can properly store my credentials without committing them to source control. I have the option of committing the JSON file with the credentials because the repo is private, but that just smells like bad practice.