I’d like to upload files to a Google Cloud Storage bucket. At first, I tried the built-in node type for this. From what I can tell, it only allows oAuth credentials.. oAuth permissions are too broad to use with production cloud accounts. Service accounts must be used to limit the scope of the permissions.
To accomplish this, I added a service account credential, and attempted to use it with an HTTP request. I set the credential type to ‘Google Service Account API’. The call is returning 401 with an ‘anonymous user’ error, so it appears the service account is not being applied to the request.
Does anyone know how to successfully upload a file using a service account? Any help would be appreciated.