【发布时间】:2017-03-15 15:08:04
【问题描述】:
我有一个 boto3 客户端:
boto3.client('kms')
但它发生在新机器上,它们动态打开和关闭。
if endpoint is None:
if region_name is None:
# Raise a more specific error message that will give
# better guidance to the user what needs to happen.
raise NoRegionError()
为什么会这样?为什么只有一部分时间?
【问题讨论】:
-
因为 boto3 客户端无法从一组默认凭证方法中找到 AWS 配置文件:docs.aws.amazon.com/sdk-for-java/v1/developer-guide/…。
标签: python linux amazon-web-services boto3 aws-kms