cloud-functions-python icon indicating copy to clipboard operation
cloud-functions-python copied to clipboard

How do I handle Tokens & Authentication as environment variables?

Open santhoshdc1590 opened this issue 6 years ago • 1 comments

I have to display few messages on slack which requires tokens.

Here the link Tokens & Authentication

How can I do the same inside cloud function python? Any idea?

santhoshdc1590 avatar Jun 19 '18 13:06 santhoshdc1590

Currently cloud functions does not support env vars, but there is currently an EAP (early access program) that you can sign up to try it. Otherwise, I would recommend using firestore, firebase, runtime config or some other key-value store for th.s

MartinSahlen avatar Jun 21 '18 18:06 MartinSahlen