Skip to content

Commit

Permalink
docs: add google cloud storage
Browse files Browse the repository at this point in the history
  • Loading branch information
sp71 committed Jan 7, 2024
1 parent 0ace9e3 commit 3538b7f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/provider/storage/google-gcs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Google GCS
description: Using Google GCS as a storage provider for Casdoor
keywords: [Google GCS, storage, provider]
authors: [sp71]
---

:::note

This is an example of **Google GCS**.

:::

### 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 GCS provider](/img/providers/storage/googleProvider.png)
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ module.exports = {
"provider/storage/azure",
"provider/storage/minio",
"provider/storage/aliyun-oss",
"provider/storage/google-gcs",
"provider/storage/tencentCloudCOS",
],
},
Expand Down
Binary file added static/img/providers/storage/googleProvider.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3538b7f

Please sign in to comment.