AWS configuration profile credentials - Amazon Athena

AWS configuration profile credentials

You can use credentials stored in an AWS configuration profile by setting the following connection parameters. AWS configuration profiles are typically stored in files in the ~/.aws directory). For information about AWS configuration profiles, see Use profiles in the AWS SDK for Java Developer Guide.

Credentials provider

The credentials provider that will be used to authenticate requests to AWS. Set the value of this parameter to ProfileCredentials.

Parameter name Alias Parameter type Default value Value to use
CredentialsProvider AWSCredentialsProviderClass (deprecated) Required none ProfileCredentials

Profile name

The name of the AWS configuration profile whose credentials should be used to authenticate the request to Athena.

Parameter name Alias Parameter type Default value
ProfileName none Required none
Note

The profile name can also be specified as the value of the CredentialsProviderArguments parameter, although this use is deprecated.