- Includes property settings that specify information about the Azure AD service. For more information, see Specifying Azure AD Information in the Connection URL
- Refers to an AWS profile that specifies information about the Azure AD service. For more information, see Specifying Azure AD Information in an AWS Profile.
Specifying Azure AD Information in the Connection URL
In your connection URL, set properties to specify information such as the host and port of the server where the Azure AD service is hosted. If your connection URL also specifies an AWS profile that contains some Azure AD information, then the settings specified directly in the URL take precedence over the Azure AD information in the profile, and theAWSCredentialsProviderClass property must be specified in the profile instead of the connection URL.
- In your connection URL, set the following properties:
Property Value AWSCredentialsProviderClassAs alternatives, you can configure this property using the aliases
aws_credentials_provider_classorplugin_name. If you specify both aliases, the setting associated withaws_credentials_provider_classtakes precedence.The FQCN that implements the Azure AD credentials provider.
UserAs an alternative, you can configure this property using the alias
UID.The email address that you use to access the Azure AD server.
PasswordAs an alternative, you can configure this property using the alias
PWD.The password corresponding to your email address that you specified in the
UserorUIDproperty.tenant_idTheAzure AD-provided unique ID associated with your Athena application. client_secretThe Client Secret to use when authenticating the connection using the Azure AD service.
client_idThe Client ID to use when authenticating the connection using the Azure AD service.
Duration field, type the duration of the role session in seconds.Specifying Azure AD Information in an AWS Profile
In your AWS credentials file, define a profile that specifies information such as the host and port of the server where the Azure AD service is hosted, and your credentials for accessing the Azure AD service. Then, in your connection URL, set theprofile property to the name of that profile.
By default, the AWS credentials file is located in ~/.aws/credentials. You can change this default behavior by setting the AWS_CREDENTIAL_PROFILES_FILE environment variable to the full path and name of a different credentials file. For more information about profiles, see “Working with AWS Credentials” in the AWS SDK for Java Developer Guide : https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html.
If any Azure AD information is also specified directly in your connection URL, those settings take precedence over the Azure AD information in the profile.
- In your AWS credentials file, define a profile that specifies the following property settings. Start by providing the name of the profile in brackets (
[ ]), and then specify each property on separate lines.Property Value AWSCredentialsProviderClassAs alternatives, you can configure this property using the aliases
aws_credentials_provider_classorplugin_name. If you specify both aliases, the setting associated withaws_credentials_provider_classtakes precedence.The FQCN that implements the Azure AD credentials provider.
UserAs an alternative, you can configure this property using the alias
UID.The email address that you use to access the Azure AD server.
PasswordAs an alternative, you can configure this property using the alias
PWD.The password corresponding to your email address that you specified in the
UserorUIDproperty.tenant_idTheAzure AD-provided unique ID associated with your Athena application. client_secretThe Client Secret to use when authenticating the connection using the Azure AD service.
client_idThe Client ID to use when authenticating the connection using the Azure AD service.
plug-in-creds-lambda that specifies all the required Azure AD service information:
- In your connection URL, set the
profileproperty to the name of the profile.