by langgenius · v0.3.9
Tencent Cloud COS Storage Datasource
This community listing does not yet include every recommended support, privacy, pricing, and permission disclosure. Review the available package permissions before installing.
Available inside your emploidai workspace after installation.
Author: langgenius
Version: 0.0.1
Type: datasource
This plugin integrates with Tencent Cloud COS (Cloud Object Storage), enabling automated access to your COS buckets and objects. It supports browsing files and folders within COS buckets and downloading files directly for use in platforms like Dify.
Before using this plugin, you need:
Create Tencent Cloud CAM User (if not already exists):
Set Permissions:
QcloudCOSReadOnlyAccess (for read-only access to all buckets) {
"version": "2.0",
"statement":[
{
"effect": "allow",
"action": [
"cos:List*",
"cos:Get*",
"cos:Head*",
"cos:OptionsObject"
],
"resource": "*"
}
]
}
Generate Access Keys:
Configure the Plugin in Dify:
ap-beijing, ap-shanghai, ap-guangzhou)The plugin provides an online drive interface for browsing COS content:
To download a file:
| Operation | Description |
|---|---|
| List Buckets | View all COS buckets in your Tencent Cloud account |
| Browse Files | Navigate through files and folders in a bucket |
| Download File | Retrieve file content from COS |
| Pagination | Handle large file lists with continuation tokens |
"Credentials not found" error:
"Access Denied" error:
"Bucket not found" error:
Region connectivity issues:
ap-beijing)Common Tencent Cloud regions include:
ap-beijing (Beijing)ap-shanghai (Shanghai)ap-guangzhou (Guangzhou)ap-chengdu (Chengdu)ap-singapore (Singapore)ap-mumbai (Mumbai)ap-tokyo (Tokyo)For a complete list, refer to Tencent Cloud COS Regions and Endpoints.
Please refer to the Privacy Policy for information on how your data is handled when using this plugin.
For issues or questions:
Last updated: January 2025