

# JWT with identity center integration

The `JWT_TIP` provider uses the supplied JSON web token in the trusted identity propagation authentication workflow. For configuration guidance, see [Use Trusted identity propagation with Amazon Athena drivers](using-trusted-identity-propagation.md).

The workflow calls `CreateTokenWithIAM` and includes the returned identity context in the Amazon STS `AssumeRole` request.

## Credentials provider
<a name="jdbc-v4-driver-jwt-tip-credentials-provider"></a>

The credentials provider that will be used to authenticate requests to Amazon. Set the value of this parameter to `JWT_TIP`.



| Parameter name | Alias | Parameter type | Default value | Value to use | 
| --- | --- | --- | --- | --- | 
| CredentialsProvider | AWSCredentialsProviderClass (deprecated) | Required | none | JWT\_TIP | 

## JWT web identity token
<a name="jdbc-v4-driver-jwt-tip-web-identity-token"></a>

The JSON web token supplied to the `JWT_TIP` provider. The authentication workflow shares exchanged IAM Identity Center tokens through an in-memory cache and refreshes expired or expiring entries.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| JwtWebIdentityToken | web\_identity\_token (deprecated) | Required | none | 

## WorkgroupArn
<a name="jdbc-v4-driver-jwt-tip-workgroup-arn"></a>

The Amazon Resource Name (ARN) of the Amazon Athena workgroup. For more information about workgroups, see [WorkGroup](https://docs.amazonaws.cn/athena/latest/APIReference/API_WorkGroup.html).



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| WorkgroupArn | none | Required | none | 

## JWT application role ARN
<a name="jdbc-v4-driver-jwt-tip-application-role-arn"></a>

The ARN of the role to assume. This role is used for JWT exchange, getting IAM Identity Center customer managed application ARN through workgroup tags, and getting access role ARN. For more information about assuming roles, see [AssumeRole](https://docs.amazonaws.cn/STS/latest/APIReference/API_AssumeRole.html).



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| ApplicationRoleArn | none | Required | none | 

## JWT role session name
<a name="jdbc-v4-driver-jwt-tip-role-session-name"></a>

The session name included in the Amazon STS request. Use a value that meets the `RoleSessionName` length and character requirements in the Amazon STS API reference.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| JwtRoleSessionName | RoleSessionName; role\_session\_name (deprecated) | Required | none | 

## Role session duration
<a name="jdbc-v4-driver-jwt-tip-session-duration"></a>

The duration, in seconds, of the role session. For more information, see [AssumeRole](https://docs.amazonaws.cn/STS/latest/APIReference/API_AssumeRole.html).



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| RoleSessionDuration | Duration (deprecated) | Optional | 3600 | 

## JWT access role ARN
<a name="jdbc-v4-driver-jwt-tip-access-role-arn"></a>

The ARN of the access role that the driver assumes by calling Amazon STS `AssumeRole` with the IAM Identity Center identity context. For more information, see [AssumeRole](https://docs.amazonaws.cn/STS/latest/APIReference/API_AssumeRole.html) in the *Amazon Security Token Service API Reference*.



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| AccessRoleArn | none | Optional | none | 

## IAM Identity Center customer managed application ARN
<a name="jdbc-v4-driver-jwt-tip-customer-idc-application-arn"></a>

The ARN of IAM Identity Center customer managed application. For more information, see [customer managed applications](https://docs.amazonaws.cn/singlesignon/latest/userguide/customermanagedapps.html).



| Parameter name | Alias | Parameter type | Default value | 
| --- | --- | --- | --- | 
| CustomerIdcApplicationArn | none | Optional | none | 