Browser SAML
The BrowserSAML plugin opens the configured login_url in a browser and waits for a SAML response on a local callback server.
Authentication type
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| AuthenticationType | Required | IAM Credentials |
AuthenticationType=BrowserSAML; |
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. This role 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; |
Login URL
The single sign-on URL that is displayed for your application.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| login_url | Required | none |
login_url=https://trial-1234567.okta.com/app/trial-1234567_oktabrowsersaml_1/zzz4izzzAzDFBzZz1234/sso/saml; |
Listen port
The port number that is used to listen for the SAML response. This value should
match the single sign-on (SSO) URL that you configured the IdP with (for example,
http://localhost:7890/athena).
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| listen_port | Optional | 7890 |
listen_port=7890; |
Timeout
The duration, in seconds, before the plugin stops waiting for the SAML response from the identity provider.
| Connection string name | Parameter type | Default value | Connection string example |
|---|---|---|---|
| timeout | Optional | 120 |
timeout=90; |