Skip to content

Commit

Permalink
docs: add google cloud storage (#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
sp71 authored Jan 8, 2024
1 parent 0ace9e3 commit 0fe5bc1
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-cloudstorage.md
Original file line number Diff line number Diff line change
@@ -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)
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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 0fe5bc1

Please sign in to comment.