We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c216a08 commit cd148b1Copy full SHA for cd148b1
README.rst
@@ -30,7 +30,7 @@ cos最新可用地域,参照https://www.qcloud.com/document/product/436/6224
30
# appid已在配置中移除,请在参数Bucket中带上appid。Bucket由bucketname-appid组成
31
secret_id = 'xxxxxxxx' # 替换为用户的secret_id
32
secret_key = 'xxxxxxx' # 替换为用户的secret_key
33
- region = 'ap-beiging-1' # 替换为用户的region
+ region = 'ap-beijing-1' # 替换为用户的region
34
token = '' # 使用临时秘钥需要传入Token,默认为空,可不填
35
config = CosConfig(Region=region, Secret_id=secret_id, Secret_key=secret_key, Token=token) #获取配置对象
36
client = CosS3Client(config) #获取客户端对象
0 commit comments