Tencent Cloud COS
Field mapping
| Casdoor field | Tencent Cloud | Required |
|---|---|---|
| Client ID | SecretId | Yes |
| Client secret | SecretKey | Yes |
| Endpoint | Endpoint | Yes |
| Bucket | BucketName | Yes |
| Region ID | Region | Yes |
| Path prefix | — | No |
| Domain | CDN domain | No |
Get SecretId and SecretKey from the Tencent Cloud API Key page. Get Endpoint, BucketName, and Region from your COS bucket settings.

Optional: use a custom CDN domain — see Tencent COS CDN configuration.
Configure in Casdoor
Create a Storage provider, set Type to Tencent Cloud COS, and fill in the fields above.
