---
title: "Discussion on \"How to Safely use Google Application Credentials on Heroku\" | Hashnode"
description: "Discussion on \"How to Safely use Google Application Credentials on Heroku\". Problem\nIf you have deployed an app on heroku, you know that the only way to get any files there is via git.\nNormally this is fine, but Google API expects an environment variable GOOGLE_APPLICATION_CREDENTIALS that points to a json file.\nIf you googl..."
url: "https://hashnode.com/posts/how-to-safely-use-google-application-credentials-on-heroku/5f4eeac13b5d701ee7fee1a0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Safely use Google Application Credentials on Heroku](https://mandarvaze.hashnode.dev/how-to-safely-use-google-application-credentials-on-heroku?utm_source=hashnode&utm_medium=feed)

Problem If you have deployed an app on heroku, you know that the only way to get any files there is via git. Normally this is fine, but Google API expects an environment variable GOOGLE\_APPLICATION\_CREDENTIALS that points to a json file. If you googl...

Jan 2, 2020 · 2 min read · mandarvaze.hashnode.dev  
Read the article

-   [#security](https://hashnode.com/tag/security)
-   [#git](https://hashnode.com/tag/git)
-   [#heroku](https://hashnode.com/tag/heroku)

## Written by

[Mandar Vaze](https://hashnode.com/@mandarvaze)

@mandarvaze · India

  
[View profile](https://hashnode.com/@mandarvaze)

Remote Software Consultant

## Responses 2

Markdown supported · ⌘↵ to post

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 2, 2020](https://hashnode.com/posts/how-to-safely-use-google-application-credentials-on-heroku/5f4eeac13b5d701ee7fee1a0/comment/5f4f3d96b833fd229ed60d31)

Very nice, love to see people write about these kind of things!

[Tapas Adhikary](https://hashnode.com/@atapas)

[Sep 2, 2020](https://hashnode.com/posts/how-to-safely-use-google-application-credentials-on-heroku/5f4eeac13b5d701ee7fee1a0/comment/5f4f0da83b5d701ee7fee224)

[Mandar Vaze](https://hashnode.com/@mandarvaze), this is helpful. Thanks for sharing.
