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.
2 parents 8c35cb7 + 992a60e commit 804e25fCopy full SHA for 804e25f
qcloud_cos/demo.py
@@ -20,7 +20,7 @@
20
secret_id = 'AKID15IsskiBQACGbAo6WhgcQbVls7HmuG00' # 替换为用户的secret_id
21
secret_key = 'csivKvxxrMvSvQpMWHuIz12pThQQlWRW' # 替换为用户的secret_key
22
region = 'ap-beijing-1' # 替换为用户的region
23
-token = None # 使用临时秘钥需要传入Token,默认为空,可不填
+token = None # 使用临时密钥需要传入Token,默认为空,可不填
24
config = CosConfig(Region=region, SecretId=secret_id, SecretKey=secret_key, Token=token) # 获取配置对象
25
client = CosS3Client(config)
26
0 commit comments