Browser Azure AD
The BrowserAzureAD plugin opens a browser, receives an authorization code, and exchanges it for a SAML assertion. This plugin does not require a user name, password, or client secret in the connection parameters.
Authentication Type
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| AuthenticationType | Required | IAM Credentials |
AuthenticationType=BrowserAzureAD; |
Preferred role
The Amazon Resource Name (ARN) of the role to assume. If your SAML assertion has multiple roles, you can specify this parameter to choose the role to be assumed. The role specified should be present in the SAML assertion. For more information about ARN roles, see AssumeRole in the AWS Security Token Service API Reference.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| preferred_role | Optional | none |
preferred_role=arn:aws:iam::123456789012:role/MyAthenaRole; |
Session duration
The role session duration in seconds. When this parameter is unset, the driver omits DurationSeconds from the request. The selected service determines the resulting session duration.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| duration | Optional | Not set | duration=900; |
Tenant ID
Specifies your application tenant ID.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| idp_tenant | Required | none |
idp_tenant=123zz112z-z12d-1z1f-11zz-f111aa111234; |
Client ID
Specifies your application client ID.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| client_id | Required | none |
client_id=9178ac27-a1bc-1a2b-1a2b-a123abcd1234; |
Timeout
The duration, in seconds, before the plugin stops waiting for the authorization code on its local callback server.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| timeout | Optional | 120 |
timeout=90; |
Enable Azure file cache
Enables a temporary credentials cache. This connection parameter enables temporary credentials to be cached and reused between multiple processes. Use this option to reduce the number of opened browser windows when you use BI tools such as Microsoft Power BI.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| browser_azure_cache | Optional | 1 on Windows; disabled on Linux and macOS |
browser_azure_cache=0; |