Browse Source

Update Model.cs

chore: deleted secretId
tags/0.1.0
OctaAcid 2 years ago
parent
commit
0598564d1f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      installer/Installer/Model.cs

+ 2
- 2
installer/Installer/Model.cs View File

@@ -447,8 +447,8 @@ namespace Downloader
.Build(); // 创建 CosXmlConfig 对象

// 永久密钥访问凭证
string secretId = "AKIDVpzdDcmhS0KNAj5FLG0WnpcBconY9UYN"; //"云 API 密钥 SecretId";
string secretKey = "f2FDyVnpgNr67urZ3HF4f5KL8i2DCzY2"; //"云 API 密钥 SecretKey";
string secretId = "***"; //"云 API 密钥 SecretId";
string secretKey = "***"; //"云 API 密钥 SecretKey";

long durationSecond = 1000; // 每次请求签名有效时长,单位为秒
QCloudCredentialProvider cosCredentialProvider = new DefaultQCloudCredentialProvider(


Loading…
Cancel
Save