View a markdown version of this page

Azure AD - Amazon Athena
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Azure AD

The AzureAD plugin sends a password-grant request to Azure AD to obtain a SAML assertion.

Authentication Type

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

User ID

Your user name for connecting to Azure AD.

Connection string name Parameter type Default value Connection string example
UID Required none UID=jane.doe@example.com;

Password

Your password for connecting to Azure AD.

In the connection string example, replace the placeholder with the value for your connection.

Connection string name Parameter type Default value Connection string example
PWD Required none PWD=password;

Preferred role

The Amazon Resource Name (ARN) of the role to assume. For information about ARN roles, see AssumeRole in the Amazon 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;

Client secret

Specifies your client secret.

In the connection string example, replace the placeholder with the value for your connection.

Connection string name Parameter type Default value Connection string example
client_secret Required none client_secret=client-secret;