strapi-provider-upload-google-cloud-storage
Non-Official Google Cloud Storage Provider for Strapi Upload
Inspired from https://www.npmjs.com/package/strapi-provider-upload-google-cloud-storage
Except:
- removed bucket autocreate
- add support for regional bucket
- add support for Uniform bucket-level access
Installation
Install the package from your app root directory
cd /path/to/strapi/
npm install @nitra/strapi-provider-upload-google-cloud-storage --save
Setting up Google authentification
- In the GCP Console, go to the Create service account key page..
- From the Service account list, select New service account.
- In the Service account name field, enter a name.
- From the Role list, select Storage > Storage Object Admin.
- Click Create. A JSON file that contains your key downloads to your computer.
Setting up Strapi upload configuration
- Copy the full content of the downloaded JSON file
- Paste it into the "Service Account JSON" field in Strapi Upload Settings
- Set an existing Bucket name
- Save the configuration
- Enjoy !