The Next Generation Platform is Coming - Get Ready Now!
GitHub Readme.md
Generates a Google credential file based on Heroku Config Vars.
This is useful when using a package such as @google-cloud/storage which loads credentials from a file instead of an environmental variable.
GOOGLE_CREDENTIALS
and paste the content of service account credential JSON file as is.GOOGLE_APPLICATION_CREDENTIALS
and set a value as google-credentials.json
.The script with generate a file called google-credentials.json
which holds the key from the step #1 above.
To add to your application, run:
heroku buildpacks:set https://github.com/buyersight/heroku-google-application-credentials-buildpack.git -a your-app-name
Copy the snippet above into CLI.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.