默认凭证 - Amazon Athena
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

默认凭证

您可以通过设置以下连接参数,使用在客户端系统上配置的默认凭证来连接 Amazon Athena。有关使用默认凭证的信息,请参阅《适用于 Java 的 Amazon SDK 开发人员指南》中的使用默认凭证提供程序链

凭证提供程序

将用于对 Amazon 的请求进行身份验证的凭证提供程序。将此参数的值设置为 DefaultChain

参数名称 别名 参数类型 默认值 要使用的值
CredentialsProvider AWSCredentialsProviderClass(已弃用) 必需 none DefaultChain