• Task
  • Version · 6.0
  • Create

Connect to AWS Aurora or Amazon RDS using IAM authentication

Last updated: September 29, 2026

Before you begin

Procedure

1

Configure IAM authentication

loading

loading

loading

loading
2

(Optional) Assume a role for cross-account access

liquibase.aws.roleArn: your_role_arn
3

(Optional) Use a different authentication mechanism for a reference database

liquibase.aws.authType: IAM
liquibase.aws.reference.authType: IAM
liquibase.aws.reference.region: your_region
liquibase.aws.authType: IAM
liquibase.aws.reference.authType: DEFAULT
liquibase.command.referencePassword: your_password
4

Test your connection

loading

loading

loading

loading
liquibase --changelog-file=changelog.xml update

Troubleshooting

Set liquibase.aws.authType=IAM to enable RDS IAM authentication

The database password is a static credential rather than an aws-rds-iam reference

No region could be resolved

The JDBC URL is missing the required SSL parameter

The URL declares a mis-cased SSL parameter name

STS AssumeRole failed

Unable to load credentials from any of the providers

loading

PAM authentication failed, or Access denied

Cannot find database driver

Connecting through a bastion host or tunnel