IAM credentials - Amazon Athena
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

IAM credentials

You can use your IAM credentials with the JDBC driver to connect to Amazon Athena by setting the following connection parameters.

User

Your AWS access key ID. For information about access keys, see AWS security credentials in the IAM User Guide.

Parameter name Alias Parameter type Default value
User AccessKeyId Required none

Password

Your AWS secret key ID. For information about access keys, see AWS security credentials in the IAM User Guide.

Parameter name Alias Parameter type Default value
Password SecretAccessKey Optional none

Session token

If you use temporary AWS credentials, you must specify a session token. For information about temporary credentials, see Temporary security credentials in IAM in the IAM User Guide.

Parameter name Alias Parameter type Default value
SessionToken none Optional none