Skip to content

Commit

Permalink
Merge pull request tencentyun#30 from dt3310321/s3
Browse files Browse the repository at this point in the history
S3
  • Loading branch information
dt3310321 authored Dec 15, 2017
2 parents c9e1d80 + e4d6c35 commit 3f347f6
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 54 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cos最新可用地域,参照https://www.qcloud.com/document/product/436/6224
secret_key = 'xxxxxxx' # 替换为用户的secret_key
  region = 'ap-beiging-1'   # 替换为用户的region
token = '' # 使用临时秘钥需要传入Token,默认为空,可不填
config = CosConfig(Region=region, Access_id=secret_id, Access_key=secret_key, Token=token) #获取配置对象
config = CosConfig(Region=region, Secret_id=secret_id, Secret_key=secret_key, Token=token) #获取配置对象
client = CosS3Client(config) #获取客户端对象
Expand Down
Loading

0 comments on commit 3f347f6

Please sign in to comment.