Package Information
Released: 6 mo ago
Downloads: 13 weekly / 588 monthly
Latest Version: 1.0.4
Author: PokeBug
Documentation
n8n-nodes-postgres-aws-iam
An n8n community node that connects to Amazon RDS PostgreSQL using AWS IAM authentication, eliminating the need to manage database passwords.
n8n is a fair-code licensed workflow automation platform.
Installation |
Operations |
Authentication |
Compatibility |
Usage |
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
- Execute Query — Run a custom SQL query
- Insert — Insert rows into a table
- Insert or Update (Upsert) — Insert or update rows in a table
- Select — Select rows from a table
- Update — Update rows in a table
- Delete — Delete an entire table or rows in a table
Authentication
This node uses AWS IAM role authentication to connect to RDS PostgreSQL. No traditional database username/password credentials are required.
Prerequisites
- An Amazon RDS PostgreSQL instance with IAM database authentication enabled
- The environment running n8n (EC2, ECS, Lambda, etc.) must have an IAM role with
rds-db:connectpermission attached - A database user configured and authorized for IAM authentication
Node Parameters
| Parameter | Description |
|---|---|
| AWS Region | The AWS region where the RDS instance is located |
| Endpoint | The RDS instance endpoint hostname |
| Port | The port number of the RDS instance (default 5432) |
| User | The database user configured for IAM authentication |
| Database | The name of the database to connect to |
A temporary authentication token is automatically generated via @aws-sdk/rds-signer, and SSL is enforced for all connections.
Compatibility
- Requires n8n v1.0 or later
Usage
- Ensure the compute environment running n8n has an IAM role with
rds-db:connectpermission attached - Add the Postgres (AWS IAM) node in n8n
- Fill in the AWS region, RDS endpoint, port, database user, and database name
- Select the operation to perform and configure the relevant parameters
This node can also be used as an AI Agent tool (usableAsTool: true).