View a markdown version of this page

Browser SSO OIDC - Amazon Athena

Browser SSO OIDC

Browser SSO OIDC is an authentication plugin that works with AWS IAM Identity Center. For information on enabling and using IAM Identity Center, see Step 1: Enable IAM Identity Center in the AWS IAM Identity Center User Guide.

Authentication type

Connection string name Parameter type Default value Connection string example
AuthenticationType Required IAM Credentials AuthenticationType=BrowserSSOOIDC;

IAM Identity Center Start URL

The URL for the AWS access portal. The IAM Identity Center RegisterClient API action uses this value for the issuerUrl parameter.

Connection string name Parameter type Default value Connection string example
sso_oidc_start_url Required none sso_oidc_start_url=https://app_id.awsapps.com/start;

IAM Identity Center Region

The AWS Region where your SSO is configured. The SSOOIDCClient and SSOClient AWS SDK clients use this value for the region parameter.

Connection string name Parameter type Default value Connection string example
sso_oidc_region Required none sso_oidc_region=us-east-1;

Scopes

The list of scopes that are defined by the client. Upon authorization, this list restricts permissions when an access token is granted. The IAM Identity Center RegisterClient API action uses this value for the scopes parameter.

Connection string name Parameter type Default value Connection string example
sso_oidc_scopes Optional sso:account:access sso_oidc_scopes=sso:account:access;

Account ID

The identifier for the AWS account that is assigned to the user. The IAM Identity Center GetRoleCredentials API uses this value for the accountId parameter.

Connection string name Parameter type Default value Connection string example
sso_oidc_account_id Required none sso_oidc_account_id=123456789123;

Role name

The friendly name of the role that is assigned to the user. The name that you specify for this permission set appears in the AWS access portal as an available role. The IAM Identity Center GetRoleCredentials API action uses this value for the roleName parameter.

Connection string name Parameter type Default value Connection string example
sso_oidc_role_name Required none sso_oidc_role_name=AthenaReadAccess;

Timeout

The number of seconds to wait for the local OAuth 2.0 callback. Use IdpResponseTimeout; the default is 120.

Connection string name Parameter type Default value Connection string example
IdpResponseTimeout Optional 120 IdpResponseTimeout=90;

Listen port

The local OAuth 2.0 callback port. The default redirect URI is http://127.0.0.1:7890/oauth/callback; a configured listen_port changes the port in that URI.

Connection string name Parameter type Default value Connection string example
listen_port Optional 7890 listen_port=8080;

Enable file cache

Enables a disk cache for AWS Identity and Access Management Identity Center access tokens and refresh tokens for reuse across connections and processes. Use this option to reduce the number of browser sign-in windows.

Connection string name Parameter type Default value Connection string example
sso_oidc_cache Optional 1 on Windows; disabled on Linux and macOS sso_oidc_cache=0;