

# Authentication connection parameters

The Athena JDBC 4.x driver supports several authentication methods. The connection parameters that are required depend on the authentication method that you use.

**Topics**
+ [IAM](jdbc-v4-driver-iam-credentials.md)
+ [Default](jdbc-v4-driver-default-credentials.md)
+ [AWS configuration profile](jdbc-v4-driver-aws-configuration-profile-credentials.md)
+ [Instance profile](jdbc-v4-driver-instance-profile-credentials.md)
+ [Custom](jdbc-v4-driver-custom-credentials.md)
+ [JWT](jdbc-v4-driver-jwt-credentials.md)
+ [JWT trusted identity propagation](jdbc-v4-driver-jwt-tip-credentials.md)
+ [Browser trusted identity propagation](jdbc-v4-driver-browser-oidc-tip-credentials.md)
+ [Azure AD](jdbc-v4-driver-azure-ad-credentials.md)
+ [Okta](jdbc-v4-driver-okta-credentials.md)
+ [Ping](jdbc-v4-driver-ping-credentials.md)
+ [AD FS](jdbc-v4-driver-adfs-credentials.md)
+ [Browser Azure AD](jdbc-v4-driver-browser-azure-ad-credentials.md)
+ [Browser SAML](jdbc-v4-driver-browser-saml-credentials.md)
+ [Browser SSO OIDC](jdbc-v4-driver-browser-sso-oidc.md)
+ [DataZone Identity Center authentication](jdbc-v4-driver-datazone-idc.md)
+ [DataZone IAM authentication](jdbc-v4-driver-datazone-iamcp.md)
+ [Choose one credential source](#jdbc-v4-driver-credential-source-precedence)
+ [Identity provider host and port](#jdbc-v4-driver-idp-canonical-parameters)

## Choose one credential source
<a name="jdbc-v4-driver-credential-source-precedence"></a>

If `CredentialsProvider` is absent, `User` and `Password` together select static credentials. If neither an explicit provider nor both keys are supplied, the connection fails.

Use `CredentialsProvider=ProfileCredentials` with `ProfileName`. Supplying `ProfileName` with a different explicit provider is rejected; supplying it with static keys and no provider logs a warning and uses the keys.

The driver registers `SageMakerIam` and `SageMakerBrowserIdc` as aliases for `DataZoneIam` and `DataZoneIdc`, respectively. Project-based and legacy environment-based connections use the corresponding DataZone parameter sets.

## Identity provider host and port
<a name="jdbc-v4-driver-idp-canonical-parameters"></a>

Use `IdpHostName` and `IdpPortNumber` for provider host and port configuration. Host aliases include `OktaHostName`, `PingHostName`, `AdfsHostName`, and `IdP_Host`. Port aliases include `PingPortNumber`, `AdfsPortNumber`, and `IdP_Port`. Provider-specific requirements are listed above.