How to Secure Google Cloud Functions (Python)

Jul 22, 2019

Solution 1: Http Basic Authentication

REFER: Secure Cloud Functions With Http Basic Authentication (HTTPBasicAuth) - Python.

Solution 2: Firebase Authentication

If your client (Android, Web JS, etc.) is using Firebase Auth.

REFER: Secure Cloud Functions With Firebase Authentication (Python).

Solution 3: OIDC Account

LATEST: Secure Cloud Functions for Cloud Scheduler

If you call cloud functions using internal services like Google Cloud Scheduler.

REFER: Secure Cloud Functions With OIDC Account (from Cloud Scheduler) - Python.

References:

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.