Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Deploy Cloud Function with Authentication required

I am deploying a 2nd generation cloud function in python of type https or rest, I need the authentication to be mandatory, ie it is not public and can only be invoked by service accounts. as I managed it from console or by continuous integration pipeline.

1 1 73
1 REPLY 1

Have you tried the Cloud Functions Invoker IAM role, which allows a particular service account to invoke the Cloud functions? Make sure your cloud functions require an authentication setting enabled. 

Thanks
Vinoth_GCP.