View a markdown version of this page

Authentication options - Amazon Athena

Authentication options

ODBC 4.x supports the authentication types in the following topics. Set AuthenticationType in the DSN or connection string; its default is IAM Credentials. Set AwsRegion for every connection.

For static credentials, provide UID and PWD; use SessionToken for temporary credentials. To use the default credentials provider chain, explicitly set AuthenticationType=Default Credentials.