strapi-provider-upload-gcs
v3.0.0-beta.16
Published
(Non-official) Google Cloud Storage Provider for Strapi Upload
Downloads
3
Maintainers
Readme
strapi-provider-upload-google-cloud-storage
Non-Official Google Cloud Storage Provider for Strapi Upload
Installation
Install the package from your app root directory
cd /path/to/strapi/
npm install 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 Project > Owner.
- 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 multi-regional Bucket name
- Define a multi-regional location (Europe [eu], Asia [asia] or United States of America [us])
- Save the configuration
- Enjoy !
Important information
If the bucket doesn't exist, the plugin will try to create it for you. So be carefull when you select the multi-regional option, because your bucket will be located inside.