Skip to content

Commit

Permalink
add amazon s3 doc
Browse files Browse the repository at this point in the history
  • Loading branch information
UsherFall committed Jul 21, 2023
1 parent 2f821f2 commit e38eeef
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/provider/storage/amazon-s3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Amazon S3
description: Using Amazon S3S as a storage provider for Casdoor
keywords: [Amazon S3, storage, provider]
authors: [UsherFall]
---

:::note

This is an example of **Amazon S3**.

:::

### Create security credentials

Follow the document: [Managing access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html), Create and save your `access key` and `secret access key` in amazon console.

### Config your bucket

In your bucket permissons options, uncheck the "block" then save changes.

![uncheck block](/img/providers/storage/amazonNoBlock.png)

Edit the object ownership, check ACLs enabled

![check ACLs enabled](/img/providers/storage/amazonOwnership.png)

### Config Casdoor

Fill the necessary information, includes the `Client ID` and `Client Secret` obtained from the `access key` and `secret access key` in the previous step. You can refer to this documentation for information on the formatting of the `endpoint`: [Website endpoints](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteEndpoints.html)

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

Please sign in to comment.