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

Exposed private key #4

Closed
luatnd opened this issue Dec 16, 2017 · 3 comments
Closed

Exposed private key #4

luatnd opened this issue Dec 16, 2017 · 3 comments

Comments

@luatnd
Copy link

luatnd commented Dec 16, 2017

First of all, I'd like to say a big thank to you for this awesome repos, it save me a lot of time.
I made a EER diagram visualization UI to visualize the table list and its dependency.
As I can see, Resource --> Advanced Google Service... does not support FireStore currently.
Google hasn't provided us a Firestore SDK for Google App Script.
I guess that using the authentication method in this repos is the only way.
.
I don't know this can be an issue or not, just place my concern here.
But expose private key is very dangerous. Is there another way to avoid placing the private key in the *.gs files?

@grahamearley
Copy link
Owner

I agree that this isn't always the most secure way to do things. Do you have any ideas for how to approach this more securely?

I'll leave this issue open for discussion.

@luatnd
Copy link
Author

luatnd commented Dec 18, 2017

Haha I haven't had any different idea, your method seems to be the only solution. Hm, I think Google will provide a service soon.
If I need more secure, I will spend time to make a middle endpoint:
Google Script --> My Nodejs API (using nodejs SDK) --> FireStore.

@grahamearley
Copy link
Owner

I'm closing this issue because I don't think there is another solution. The private key is required for the authentication method this library uses.

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

No branches or pull requests

2 participants