ahmetb / cloud-run-faq

Unofficial FAQ and everything you've been wondering about Google Cloud Run.
https://cloud.run
Creative Commons Attribution 4.0 International
2.32k stars 124 forks source link

Setting up test environment, to be available only for selected users. #80

Closed Albertbol closed 4 years ago

Albertbol commented 4 years ago

I was trying to find out how to set up test environment with Cloud Run to be available for selected users, for example i have front end application deployed to CloudRun, how is it possible to restrict permissions? There is some information about logging in using curl and so on, but it all looks more like back-end authentication for specific routes, what about testing your app on mobile before releasing, google only mentions log in users sending requests with auth token headers and so on. P.S Maybe there is another better solution to deploy to test environment and have a whitelisted IP addresses?

Thanks

ahmetb commented 4 years ago

To some extent https://cloud.google.com/run/docs/authenticating/end-users but with future integration with Cloud IAP it will get better.