View a markdown version of this page

Authentication options - 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).

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.