def _set_aws_config(self, config_file):
""" Parse an AWS credential file in boto (yaml) format:
[Credentials]
aws_access_key_id = [aws access key id]
aws_secret_access_key = [aws secret key id]
"""
config = boto.config
if os.path.isfile(config_file):
config.load_credential_file(config_file)
评论列表
文章目录