Feature Request P2
Status Update
Comments
ad...@gmail.com <ad...@gmail.com> #2
Hello,
Thanks for reaching out to us!
The Product Engineering Team has been made aware of your feature request, and will address it in due course. Though we can't provide an ETA on feature requests nor guarantee their implementation, rest assured that your feedback is always taken very seriously, as it allows us to improve our products. Thank you for your trust and continued support to improve Google Cloud Platform products.
In case you want to report a new issue, please do not hesitate to create a new [Issue Tracker]
Thanks and Regards,
Onkar Mhetre
Google Cloud Support
Description
Cloud Functions to accept conditional access for IAM conditions
What you expected to happen:
To add IAM conditional role binding to Cloud Functions resources (gcloud beta functions add-iam-policy-binding YOUCLOUDFUNCTIONAME). It would be needed a Cloud Functions resource type in order to accept IAM conditions.
Steps to reproduce:
N/A
Other information (workarounds you have tried, documentation consulted, etc):
As a workaround it can be done by:
Using Service Accounts that have a Cloud Functions Invoker role assigned in IAM so it has access to the Cloud Function. With this [1] command line we would grant the role to a Service Account for a specific function.
[1] -
gcloud functions add-iam-policy-binding \
--member=serviceAccount:your-service-account-name@YOUR_PROJECT_ID.iam.gserviceaccount.com \
--role=roles/cloudfunctions.invoker your-function-name