> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> Choose the source-specific guide for configuring AWS IAM database authentication with ClickPipes.

# AWS IAM database authentication

AWS IAM database authentication setup is documented in each ClickPipes source guide. Choose the guide that matches your database engine and AWS service:

* [Amazon RDS for PostgreSQL](/docs/integrations/clickpipes/postgres/source/rds#iam-authentication)
* [Amazon Aurora PostgreSQL-Compatible Edition](/docs/integrations/clickpipes/postgres/source/aurora#iam-authentication)
* [Amazon RDS for MySQL](/docs/integrations/clickpipes/mysql/source/rds#iam-authentication)
* [Amazon Aurora MySQL-Compatible Edition](/docs/integrations/clickpipes/mysql/source/aurora#iam-authentication)
* [Amazon RDS for MariaDB](/docs/integrations/clickpipes/mysql/source/rds-maria#iam-authentication)

This compatibility page preserves links to sections of the previous shared guide. Use the links below to open the IAM authentication section in your source-specific guide.

<h2 id="setup">
  Setup
</h2>

<h3 id="before-you-start">
  Before you start
</h3>

<h4 id="make-sure-iam-authentication-is-enabled">
  Enable IAM authentication
</h4>

Open the matching IAM authentication section:

* [PostgreSQL on Amazon RDS](/docs/integrations/clickpipes/postgres/source/rds#iam-authentication)
* [PostgreSQL on Amazon Aurora](/docs/integrations/clickpipes/postgres/source/aurora#iam-authentication)
* [MySQL on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds#iam-authentication)
* [MySQL on Amazon Aurora](/docs/integrations/clickpipes/mysql/source/aurora#iam-authentication)
* [MariaDB on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds-maria#iam-authentication)

<h4 id="setting-up-the-database-user">
  Create the database user
</h4>

Open the matching IAM authentication section:

* [PostgreSQL on Amazon RDS](/docs/integrations/clickpipes/postgres/source/rds#iam-authentication)
* [PostgreSQL on Amazon Aurora](/docs/integrations/clickpipes/postgres/source/aurora#iam-authentication)
* [MySQL on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds#iam-authentication)
* [MySQL on Amazon Aurora](/docs/integrations/clickpipes/mysql/source/aurora#iam-authentication)
* [MariaDB on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds-maria#iam-authentication)

<h3 id="obtaining-the-clickhouse-service-iam-role-arn">
  Obtain the ClickHouse service IAM role ARN
</h3>

Open the matching IAM authentication section:

* [PostgreSQL on Amazon RDS](/docs/integrations/clickpipes/postgres/source/rds#iam-authentication)
* [PostgreSQL on Amazon Aurora](/docs/integrations/clickpipes/postgres/source/aurora#iam-authentication)
* [MySQL on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds#iam-authentication)
* [MySQL on Amazon Aurora](/docs/integrations/clickpipes/mysql/source/aurora#iam-authentication)
* [MariaDB on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds-maria#iam-authentication)

<h3 id="setting-up-iam-role">
  Set up the IAM role
</h3>

<h4 id="obtaining-the-rds-resource-id">
  Obtain the RDS or Aurora resource ID
</h4>

Open the matching IAM authentication section:

* [PostgreSQL on Amazon RDS](/docs/integrations/clickpipes/postgres/source/rds#iam-authentication)
* [PostgreSQL on Amazon Aurora](/docs/integrations/clickpipes/postgres/source/aurora#iam-authentication)
* [MySQL on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds#iam-authentication)
* [MySQL on Amazon Aurora](/docs/integrations/clickpipes/mysql/source/aurora#iam-authentication)
* [MariaDB on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds-maria#iam-authentication)

<h4 id="manually-create-iam-role">
  Create the IAM role
</h4>

Open the matching IAM authentication section:

* [PostgreSQL on Amazon RDS](/docs/integrations/clickpipes/postgres/source/rds#iam-authentication)
* [PostgreSQL on Amazon Aurora](/docs/integrations/clickpipes/postgres/source/aurora#iam-authentication)
* [MySQL on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds#iam-authentication)
* [MySQL on Amazon Aurora](/docs/integrations/clickpipes/mysql/source/aurora#iam-authentication)
* [MariaDB on Amazon RDS](/docs/integrations/clickpipes/mysql/source/rds-maria#iam-authentication)
