通过boto配置文件设置主机
Set host through boto configuration file
我试图让 boto 在执行 boto.connect_s3()
时从 .boto
文件中读取 host
。基本上,我想要相当于 boto.connect_s3(host="myhost.com")
要将任何 kwargs
传递给 connect_s3
,您需要在 boto 配置文件中包含如下内容:
[s3]
host=myhost.com
check_ssl_certificate=false
我试图让 boto 在执行 boto.connect_s3()
时从 .boto
文件中读取 host
。基本上,我想要相当于 boto.connect_s3(host="myhost.com")
要将任何 kwargs
传递给 connect_s3
,您需要在 boto 配置文件中包含如下内容:
[s3]
host=myhost.com
check_ssl_certificate=false