- Includes property settings that specify information about the Okta service. For more information, see Specifying Okta Information in the Connection URL.
- Refers to an AWS profile that specifies information about the Okta service. For more information, see Specifying Okta Information in an AWS Profile.
- If any information is included in both places, the information specified directly in the connection URL takes precedence over the information in the profile.
- If the connection URL refers to an AWS profile, then the
AWSCredentialsProviderClass
property must be specified in the profile instead of the connection URL.
Specifying Okta Information in the Connection URL
In your connection URL, set properties to specify information such as the host of the server where the Okta service is hosted. If your connection URL also specifies an AWS profile that contains some Okta information, then the settings specified directly in the URL take precedence over the Okta 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 IdP_Host
The host name of the Okta service that you are using to authenticate the connection.
The host name cannot include any slashes (
/
).AWSCredentialsProviderClass
As alternatives, you can configure this property using the aliases
aws_credentials_provider_class
orplugin_name
. If you specify both aliases, the setting associated withaws_credentials_provider_class
takes precedence.The FQCN that implements the Okta credentials provider.
App_ID
The Okta-provided unique ID associated with your Athena application.
App_Name
(Optional) The name of the Okta application that you use to authenticate the connection to Athena.
User
As an alternative, you can configure this property using the alias
UID
.The email address that you use to access the Okta server.
Password
As an alternative, you can configure this property using the alias
PWD
.The password corresponding to your user name specified in the
User
orUID
property.preferred_role
The Amazon Resource Name (ARN) of the role that you want to assume when authenticated through Okta.
SSL_Insecure
If this is not set, the default is
false
.One of the following:
false
if you want the connector to verify the server certificate.true
if you do not want the connector to verify the server certificate.
okta_mfa_type
The factor type when using Okta MFA authentication, from the following list:
oktaverifywithtotp
oktaverifywithpush
SmsAuthentication
GoogleAuthenticator
okta_mfa_wait_time
The MFA timeout value, in seconds. okta_phone_number
The phone number used to receive a one-time password for SMS Authentication.
Specifying Okta Information in an AWS Profile
In your AWS credentials file, define a profile that specifies information such as the host of the server where the Okta service is hosted, and your credentials for accessing the Okta 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 Okta information is also specified directly in your connection URL, those settings take precedence over the Okta 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 IdP_Host
The host name of the Okta service that you are using to authenticate the connection.
The host name cannot include any slashes (
/
).AWSCredentialsProviderClass
As alternatives, you can configure this property using the aliases
aws_credentials_provider_class
orplugin_name
. If you specify both aliases, the setting associated withaws_credentials_provider_class
takes precedence.The FQCN that implements the Okta credentials provider.
App_ID
The Okta-provided unique ID associated with your Athena application.
App_Name
(Optional) The name of the Okta application that you use to authenticate the connection to Athena .
User
As an alternative, you can configure this property using the alias
UID
.The email address that you use to access the Okta server.
Password
As an alternative, you can configure this property using the alias
PWD
.The password corresponding to your user name that you specified in the
User
orUID
property.preferred_role
The Amazon Resource Name (ARN) of the role that you want to assume when authenticated through Okta.
SSL_Insecure
If this is not set, the default is
false
.One of the following:
false
if you want the connector to verify the server certificate.true
if you do not want the connector to verify the server certificate.
plug-in-creds-okta
that specifies all the required Okta service information:
- In your connection URL, set the
profile
property to the name of the profile.