View a markdown version of this page

Okta credentials - Amazon Athena

Okta credentials

The Okta provider obtains a SAML assertion from Okta and uses it to request temporary credentials from AWS STS or, when LakeFormationEnabled is true, Lake Formation.

Set the Region connection parameter explicitly when using Okta. For details, see Region.

Credentials provider

The credentials provider that will be used to authenticate requests to AWS. Set the value of this parameter to Okta.

Parameter name Alias Parameter type Default value Value to use
CredentialsProvider AWSCredentialsProviderClass (deprecated) Required none Okta

User

The user name used for Okta authentication.

Parameter name Alias Parameter type Default value
User UID (deprecated) Required none

Password

The password for the Okta user.

Parameter name Alias Parameter type Default value
Password PWD (deprecated) Required none

Okta host name

The host name used for requests to your Okta organization.

Parameter name Alias Parameter type Default value
IdpHostName OktaHostName, PingHostName, AdfsHostName, IdP_Host Required none

Okta application ID

The application identifier used with OktaAppName when the driver constructs the Okta SAML assertion request URL.

Parameter name Alias Parameter type Default value
OktaAppId App_ID (deprecated) Required none

Okta application name

The name of your Okta application.

Parameter name Alias Parameter type Default value
OktaAppName App_Name (deprecated) Required none

Okta MFA type

If you have set up Okta to require multi-factor authentication (MFA), you need to specify the Okta MFA type and additional parameters depending on the second factor that you want to use.

Okta MFA type is the second authentication factor type (after the password) to use to authenticate with Okta. Supported second factors include push notifications delivered through the Okta Verify app and temporary one-time passwords (TOTPs) generated by Okta Verify, Google Authenticator, or sent through SMS. Individual organization security policies determine whether or not MFA is required for user login.

Parameter name Alias Parameter type Default value Possible values
OktaMfaType okta_mfa_type (deprecated) Required, if Okta is set up to require MFA none oktaverifywithpush, oktaverifywithtotp, googleauthenticator, smsauthentication

Okta phone number

The phone number supplied for the Okta smsauthentication MFA factor. This parameter is required when that factor is selected.

Parameter name Alias Parameter type Default value
OktaPhoneNumber okta_phone_number (deprecated) Required, if OktaMfaType is smsauthentication none

Okta MFA wait time

The duration, in seconds, to wait for the user to acknowledge a push notification from Okta before the driver throws a timeout exception.

Parameter name Alias Parameter type Default value
OktaMfaWaitTime okta_mfa_wait_time (deprecated) Optional 60

Preferred role

The Amazon Resource Name (ARN) of the role to assume. For information about ARN roles, see AssumeRole in the AWS Security Token Service API Reference.

Parameter name Alias Parameter type Default value
PreferredRole preferred_role (deprecated) Optional none

Role session duration

The duration, in seconds, of the role session. For more information, see AssumeRole in the AWS Security Token Service API Reference.

Parameter name Alias Parameter type Default value
RoleSessionDuration Duration (deprecated) Optional Unset by the driver

Lake Formation enabled

Specifies whether to use the AssumeDecoratedRoleWithSAML Lake Formation API action to retrieve temporary IAM credentials instead of the AssumeRoleWithSAML AWS STS API action.

Parameter name Alias Parameter type Default value
LakeFormationEnabled none Optional FALSE