标签: python config boto
我正在尝试让boto在执行host时从.boto文件中读取boto.connect_s3()。基本上,我想要等同于boto.connect_s3(host="myhost.com")
host
.boto
boto.connect_s3()
boto.connect_s3(host="myhost.com")
答案 0 :(得分:1)
要将任何kwargs传递给connect_s3,您需要在boto配置文件中输入以下内容:
kwargs
connect_s3
[s3] host=myhost.com check_ssl_certificate=false