I need a service account that can have access to several projects, but I could not find a way to do this at all. It seems that the service account is always associated with the project.
Another option is to create a service account in separate projects and then authenticate with gcloud auth activate-service-account --key-file SOME_FILE.json , but the problem is that it is not possible to automate the creation of service accounts .
So the question is: is it possible to create a cross-project service account or to automate the creation of service accounts? It would be even better if I could do as
source share