Chuyển tới nội dung chính

Store files on a Synology NAS

This guide explains how to store the uploaded files of Casdoor on a Synology NAS through its S3-compatible API.


Learning outcomes​

  • Add a Synology NAS as a storage provider in Casdoor.

What you need​


Add the provider in Casdoor​

  1. In the Casdoor admin console, go to Identity > Providers and add a provider.

  2. Set Category to Storage and Type to Synology.

  3. Fill in the fields. At least Client ID, Client secret, and Endpoint are required.

    Casdoor fieldSynology / meaningRequired
    Client IDSecretId (access key)Yes
    Client secretSecretKeyYes
    EndpointS3 API endpointYes
    BucketBucket nameNo
    Path prefixPath prefixNo
    DomainCustom domainNo
    Region IDRegionNo

    Synology provider in Casdoor

  4. Save the provider.

See also​