Skip to content

Commit 3f347f6

Browse files
authored
Merge pull request #30 from dt3310321/s3
S3
2 parents c9e1d80 + e4d6c35 commit 3f347f6

File tree

5 files changed

+91
-54
lines changed

5 files changed

+91
-54
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cos最新可用地域,参照https://www.qcloud.com/document/product/436/6224
3131
secret_key = 'xxxxxxx' # 替换为用户的secret_key
3232
  region = 'ap-beiging-1'   # 替换为用户的region
3333
token = '' # 使用临时秘钥需要传入Token,默认为空,可不填
34-
config = CosConfig(Region=region, Access_id=secret_id, Access_key=secret_key, Token=token) #获取配置对象
34+
config = CosConfig(Region=region, Secret_id=secret_id, Secret_key=secret_key, Token=token) #获取配置对象
3535
client = CosS3Client(config) #获取客户端对象
3636
3737

0 commit comments

Comments
 (0)