Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we make the auth file fetchable by an environment variable as well? #12

Closed
lenvanessen opened this issue Feb 3, 2020 · 2 comments
Closed

Comments

@lenvanessen
Copy link

Hi,

Is it possible to also allow the contents of the auth file to be loaded from and environment variable?
.env allows this json content like this: GOOGLE_AUTH='{}

Since we're running on heroku, and we don't want the auth credentials to be in the repo, we don't want to use the regular way of setting GOOGLE_APPLICATION_CREDENTIALS or saving the information to the database/project config.

@andris-sevcenko
Copy link
Contributor

I just pushed this for the next release due next week.

@andris-sevcenko
Copy link
Contributor

1.4.0 is out with now with this feature. Keep in mind you'll have to properly escape newline characters in the RSA key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants