google-app-enginegoogle-cloud-platformgoogle-iap

Is it possible to provide a public access for a specific endpoint for a service under Identity aware proxy?


I have a service in Google Cloud App engine, which is behind IAP.

It is accessible only to users within my organisation. I need to make a few endpoints of this service accessible for all users. Is it possible to achieve?

I have found an instruction, which says that it is possible, but it also says: The allUsers and allAuthenticatedUsers values are unsupported member types in a conditional role binding. If you specify one of these member types, the setIamPolicy operation will fail.

Which is not clear for me and a bit confusing.

A small example: My service has an url https://google-cloud-app-engine-service.com And I want to make only one endpoint of this service available to everyone: https://google-cloud-app-engine-service.com/public_endpoint.

Thank you!


Solution

  • You can't white list URL path with IAP. The finest grain is the service. I mean, you can activate IAP on AppEngine. Then, for the service that you want you can select it, go to the info panel and add allUsers or allAuthenticatedUsers with the role IAP-secured web app user

    enter image description here

    You have several alternatives