腾讯云COS
Field mapping
| Casdoor field | Tencent Cloud | 必需的 |
|---|---|---|
| Client ID | SecretId | 是 |
| Client secret | SecretKey | 是 |
| Endpoint | Endpoint | 是 |
| Bucket | BucketName | 是 |
| Region ID | Region | 是 |
| 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.
