spatie / laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel
https://spatie.be/open-source
MIT License
196 stars 51 forks source link

Authentification is not working in Cloud Run #63

Closed NastuzziSamy closed 1 year ago

NastuzziSamy commented 1 year ago

Hi, thank you for the package.

I managed to make it work in Cloud Build but in cloud run, with the same custom service (with the required permissions), I am stucked with the following error:

Client error: `POST https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[service]@[project].iam.gserviceaccount.com:signBlob?alt=json` resulted in a `403 Forbidden` response:
{
  "error": {
    "code": 403,
    "message": "Permission 'iam.serviceAccounts.implicitDelegation' denied on resource (or it may not exist).",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.co (truncated...)