View a markdown version of this page

Browser Azure AD credentials - Amazon Athena

Browser Azure AD credentials

The BrowserAzureAD provider obtains a SAML assertion through the browser Azure AD authentication flow. It requires the Azure AD tenant and client identifiers; it does not require a user name, password, or client secret in the connection parameters.

Set the Region connection parameter explicitly when using BrowserAzureAD. For details, see Region.

Credentials provider

The credentials provider that will be used to authenticate requests to AWS. Set the value of this parameter to BrowserAzureAD.

Parameter name Alias Parameter type Default value Value to use
CredentialsProvider AWSCredentialsProviderClass (deprecated) Required none BrowserAzureAD

Azure AD tenant ID

The tenant ID of your Azure AD application

Parameter name Alias Parameter type Default value
AzureAdTenantId tenant_id (deprecated) Required none

Azure AD client ID

The client ID of your Azure AD application

Parameter name Alias Parameter type Default value
AzureAdClientId client_id (deprecated) Required none

Identity provider response timeout

The duration, in seconds, before the driver stops waiting for the SAML response from Azure AD.

Parameter name Alias Parameter type Default value
IdpResponseTimeout idp_response_timeout (deprecated) Optional 120

Preferred role

The Amazon Resource Name (ARN) of the role to assume. For information about ARN roles, see AssumeRole in the AWS Security Token Service API Reference.

Parameter name Alias Parameter type Default value
PreferredRole preferred_role (deprecated) Optional none

Role session duration

The duration, in seconds, of the role session. For more information, see AssumeRole in the AWS Security Token Service API Reference.

Parameter name Alias Parameter type Default value
RoleSessionDuration Duration (deprecated) Optional Unset by the driver

Lake Formation enabled

Specifies whether to use the AssumeDecoratedRoleWithSAML Lake Formation API action to retrieve temporary IAM credentials instead of the AssumeRoleWithSAML AWS STS API action.

Parameter name Alias Parameter type Default value
LakeFormationEnabled none Optional FALSE

Enable token caching

When enabled, the driver reuses the SAML assertion from a matching cache entry if the current time plus 180 seconds is not later than the cache entry expiration. Otherwise, the driver starts the browser authentication flow.

Parameter name Alias Parameter type Default value
EnableTokenCaching none Optional FALSE