Custom credentials - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Custom credentials

You can use this authentication type to provide your own credentials by using a Java class that implements the AwsCredentialsProvider interface.

Credentials provider

The credentials provider that will be used to authenticate requests to Amazon. Set the value of this parameter to the fully qualified class name of the custom class that implements the AwsCredentialsProvider interface. At runtime, that class must be on the Java class path of the application that uses the JDBC driver.

Parameter name Alias Parameter type Default value Value to use
CredentialsProvider AWSCredentialsProviderClass (deprecated) Required none The fully qualified class name of the custom implementation of AwsCredentialsProvider

Credentials provider arguments

A comma-separated list of string arguments for the custom credentials provider constructor.

Parameter name Alias Parameter type Default value
CredentialsProviderArguments AwsCredentialsProviderArguments (deprecated) Optional none