Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Custom credentials

Focus mode
Custom credentials - Amazon Athena

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 AWS. 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
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.