Reputation: 3301
I want to access Youtube Content Owner API with Google Cloud Functions. For that the service account used by GCF has to have access to that API.
When I create a Google Cloud Function, it's automatically assigned a service account. In this case the "App Engine default service account". I have a few questions about this.
Upvotes: 6
Views: 6294
Reputation: 1572
Yes, Cloud Functions use the App Engine default service account, as explained here.
Indeed there is no such option yet. There is a public Feature Request opened for this if you are interested.
True, Cloud Function will inherit all the access right from the default service account.
Alternatively, to use credentials with Cloud Functions other then the App Engine Default service account you could:
Upvotes: 5