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
- A Synology NAS with an S3-compatible endpoint and keys. See the Synology developer documentation.
- Administrator access to the Casdoor admin console
Add the provider in Casdoor
-
In the Casdoor admin console, go to Identity > Providers and add a provider.
-
Set Category to
Storageand Type toSynology. -
Fill in the fields. At least Client ID, Client secret, and Endpoint are required.
Casdoor field Synology / meaning Requerido Client ID SecretId (access key) Sí Client secret SecretKey Sí Endpoint S3 API endpoint Sí Bucket Bucket name No Prefijo de la ruta (path) Prefijo de la ruta (path) No Domain Custom domain No Region ID Región No 
-
Save the provider.