Browser based with identity center integration
The BrowserOidcTip provider obtains a JSON web token through the browser OpenID Connect authorization flow and uses it in the trusted identity propagation authentication workflow. For configuration guidance, see Use Trusted identity propagation with Amazon Athena drivers.
The authentication workflow uses the identity context returned by CreateTokenWithIAM in the AWS STS AssumeRole request.
Credentials provider
The credentials provider that will be used to authenticate requests to AWS. Set the value of this parameter to BrowserOidcTip.
| Parameter name | Alias | Parameter type | Default value | Value to use |
|---|---|---|---|---|
| CredentialsProvider | AWSCredentialsProviderClass (deprecated) | Required | none | BrowserOidcTip |
Idp well known configuration URL
The URL from which the driver retrieves the identity provider OpenID Connect configuration. The driver reads the authorization_endpoint and token_endpoint fields from the returned JSON.
If discovery fails, check that the client can retrieve the configuration URL and that the response contains the authorization_endpoint and token_endpoint fields. The driver reports an error for a non-200 response or a missing endpoint field.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| IdpWellKnownConfigurationUrl | none | Required | none |
Client identifier
The client identifier issued to the application by the OpenID Connect provider.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| OidcClientId | none | Required | none |
WorkgroupArn
The Amazon Resource Name (ARN) of the Amazon Athena workgroup that contains the trusted identity propagation configuration tags. For more information about workgroups, see WorkGroup.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| WorkgroupArn | none | Required | none |
JWT application role ARN
The ARN of the role that will be assumed in the JWT exchange. 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.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| ApplicationRoleArn | none | Required | none |
JWT role session name
The session name included in the AWS STS request. Use a value that meets the RoleSessionName length and character requirements in the AWS STS API reference.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| JwtRoleSessionName | RoleSessionName; role_session_name (deprecated) | Required | none |
Client secret
The optional client secret passed to the OpenID Connect token request. When it is omitted, the driver does not include a client secret.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| OidcClientSecret | none | Optional | none |
Scope
The scope string passed to the identity provider authorization request. When omitted, the driver uses openid email offline_access. Configure the scope for your identity provider application.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| Scope | none | Optional | openid email offline_access |
Role session duration
The duration, in seconds, of the role session. For more information, see AssumeRole.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| RoleSessionDuration | Duration (deprecated) | Optional | 3600 |
JWT access role ARN
The ARN of the access role that the driver assumes by calling AWS STS AssumeRole with the IAM Identity Center identity context. For more information, see AssumeRole in the AWS Security Token Service API Reference.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| AccessRoleArn | none | Optional | none |
IAM Identity Center customer managed application ARN
The ARN of IAM Identity Center customer managed application. For more information, see customer managed applications.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| CustomerIdcApplicationArn | none | Optional | none |
IdpPortNumber
For BrowserOidcTip, set IdpPortNumber to change the local OAuth callback port. The default is 7890. Register the redirect URI http://localhost:7890/athena with your identity provider, or use the configured port in that URI.
Identity provider response timeout
The timeout in seconds to wait for the OAuth 2.0 callback response.
| Parameter name | Alias | Parameter type | Default value |
|---|---|---|---|
| IdpResponseTimeout | idp_response_timeout (deprecated) | Optional | 120 |
EnableTokenCaching
Set EnableTokenCaching=true to reuse authentication tokens between connections. The default is false.