diff --git a/docs/provider/storage/google-cloudstorage.md b/docs/provider/storage/google-cloudstorage.md new file mode 100644 index 000000000..8c7421be3 --- /dev/null +++ b/docs/provider/storage/google-cloudstorage.md @@ -0,0 +1,26 @@ +--- +title: Google Cloud Storage +description: Using Google Cloud Storage as a storage provider for Casdoor +keywords: [Google Cloud Storage, storage, provider] +authors: [sp71] +--- + +:::note + +This is an example of **Google Cloud Storage**. + +::: + +### Create security credentials + +Follow the document: [Cloud Storage Authentication](https://cloud.google.com/storage/docs/authentication?hl=en#service_accounts) to create a [service account](https://cloud.google.com/iam/docs/keys-create-delete) with the correct [IAM permissions](https://cloud.google.com/storage/docs/access-control/iam-permissions) to access the bucket in the GCP console. + +### Configure Casdoor + +| Name | Name in Google | Is Required | +|----------------------|-------------------- |-------------| +| Service Account JSON | Service Account Key | Required | +| Endpoint | Endpoint | | +| Bucket | Bucket name | Required | + +![Google Cloud Storage provider](/img/providers/storage/googleProvider.png) diff --git a/sidebars.js b/sidebars.js index b5bdb9080..7a040cad0 100644 --- a/sidebars.js +++ b/sidebars.js @@ -228,6 +228,7 @@ module.exports = { "provider/storage/localFileSystem", "provider/storage/amazon-s3", "provider/storage/azure", + "provider/storage/google-cloudstorage", "provider/storage/minio", "provider/storage/aliyun-oss", "provider/storage/tencentCloudCOS", diff --git a/static/img/providers/storage/googleProvider.png b/static/img/providers/storage/googleProvider.png new file mode 100644 index 000000000..7bb9f4e23 Binary files /dev/null and b/static/img/providers/storage/googleProvider.png differ