Pular para o conteúdo principal

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 / meaningObrigatório
    Client IDSecretId (access key)Sim
    Client secretSecretKeySim
    EndpointS3 API endpointSim
    BucketBucket nameNão
    Prefixo do caminhoPrefixo do caminhoNão
    DomainCustom domainNão
    Region IDRegiãoNão

    Synology provider in Casdoor

  4. Save the provider.

See also​