panfd
47f090aa6f
Restore Tencent Cloud API 3.0 with correct TC3-HMAC-SHA256 signing
...
Major Changes:
- ✅ Restored: TENCENT_SECRET_ID/TENCENT_SECRET_KEY authentication
- ✅ Fixed: TC3-HMAC-SHA256 signature implementation
- ✅ Fixed: SERVICE='dnspod' in credential scope (not API_VERSION)
- ✅ Fixed: API parameter naming (SubDomain not Subdomain)
- ✅ Fixed: Error handling for empty record lists
Files Updated:
- scripts/deploy_record.py - Complete rewrite with correct signing
- .env.example - Updated to Tencent Cloud credentials format
- SKILL.md - Updated documentation for API 3.0
New Documentation:
- MIGRATION.md - Migration guide
- UPDATE-SUMMARY-V3.md - Version 3.0 update summary
- TEST-REPORT.md - Test results and verification
Testing Results:
✅ API connection successful
✅ Domain query working
✅ Record creation successful (tested: test.eoxnet.com A 1.2.3.4)
✅ Record verification working
✅ Error handling complete
API Details:
- Endpoint: dnspod.tencentcloudapi.com
- Version: 2021-03-23
- Signature: TC3-HMAC-SHA256
- Service: dnspod
Version: 3.0 (Tencent Cloud API 3.0)
2026-03-01 16:37:38 +08:00