tree: db3c2ba25c1a9fa4a48e10f907298c5fd66838b3 [path history] [tgz]
  1. i18n/
  2. go.mod
  3. go.sum
  4. README.md
  5. s3.go
  6. s3_client.go
storage-s3/README.md

S3 Storage (preview)

This plugin can be used to store attachments and avatars to AWS S3.

How to use

Build

./answer build --with github.com/apache/incubator-answer-plugins/storage-s3

Configuration

  • Endpoint - Endpoint of the AWS S3 storage
  • Bucket Name - Your bucket name
  • Object Key Prefix - Prefix of the object key like ‘answer/data/’ that ending with ‘/’
  • Access Key Id - AccessKeyId of the S3
  • Access Key Secret - AccessKeySecret of the S3
  • Access Token - AccessToken of the S3
  • Visit Url Prefix - Prefix of access address for the uploaded file, ending with ‘/’ such as https://example.com/xxx/
  • Max File Size - Max file size in MB, default is 10MB