An easier way to ask someone to add a service's account to a developer project.
OAuth flows are good for granting access to User owned resources, but don't work well for Cloud infrastructure projects.
This repo demonstrates how to use the https://cloud.google.com/shell/docs/open-in-cloud-shell feature to make it easier to ask someone to grant access to their project for your service.
Try it out (note, for security reasons, this is a nonsense service account, and will error):
- Fork this repo
- Edit the 'addme' script to contain your actual service account and desired role
- See the docs for "Open in Cloud Shell" - you can use a different custom button and host the button anywhere on your site.
THIS IS NOT A GOOGLE PRODUCT