$npx skillfedfor your agent

sqlalchemy-rdsiam

SQLAlchemy dialects to connect to Amazon RDS instances with IAM authentication

With conditionsPyPI DatabaseReleased Nov 202381.8K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — sqlalchemy_rdsiam-1.0.3-py2.py3-none-any.whl
v1.0.3 · released 2023-11-08 · Python >=3.6 · 2 runtime deps: SQLAlchemy, boto3

Yes, with conditions. Install if you need IAM authentication for RDS PostgreSQL and can accept dormant maintenance (last release 2023-11-08). The package is simple, low-friction to install, and solves a real problem without requiring code changes. However, verify that it remains compatible with your SQLAlchemy, psycopg2/asyncpg, and boto3 versions before deploying to production. Clarify the license terms before use in proprietary contexts.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires IAM permissions configured in AWS to connect to the RDS instance; psycopg2 or asyncpg must be installed separately for the chosen PostgreSQL driver.
  • Low install friction with only two runtime dependencies (SQLAlchemy and boto3).
  • Maintenance is dormant—last release was 2023-11-08, though the repository remains active with a recent commit on 2024-06-26.

License · maintenance · safety

(unclear) — License treatment is unclear; the raw license field is empty and SPDX is not specified. Verify the actual license terms in the repository before use in proprietary or restricted contexts.

last release 2023-11-08 (1010 days) · last repo commit 2024-06-26 · 13 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,764 downloads/mo, #14,203 on PyPI

Verify before relying

pip install sqlalchemy-rdsiam

from sqlalchemy import create_engine
engine = create_engine('postgresql+psycopg2rdsiam://username@host/dbname')
  • Whether the package works with SQLAlchemy versions released after 2.0 (fact sheet mentions 1.3, 1.4, 2.0 support but last release was Nov 2023).
  • Current compatibility status with modern versions of psycopg2 and asyncpg given dormant maintenance.
  • Whether the bundled RDS CA certificate is kept current with AWS certificate rotations.
Same gist for agents: .md · .json

What it is and what it does

sqlalchemy-rdsiam is a SQLAlchemy dialect plugin that handles IAM-based authentication for Amazon RDS PostgreSQL databases. Instead of managing database passwords, it integrates with AWS IAM to generate short-lived connection tokens based on your IAM identity. The package supports both synchronous (psycopg2) and asynchronous (asyncpg) PostgreSQL drivers and works with SQLAlchemy 1.3, 1.4, and 2.0.

The dialect eliminates the need to modify your application code or maintain custom event handlers—you simply use a special connection string scheme (postgresql+psycopg2rdsiam:// or postgresql+asyncpgrdsiam://) and let the package handle token generation via boto3. It also offers optional features like automatic database creation, custom AWS region selection, and built-in RDS certificate bundle handling for SSL verification.

Use it for

  • Connecting to RDS PostgreSQL from applications running on AWS with IAM roles instead of hardcoded database credentials.
  • Integrating RDS access into open-source tools or frameworks without maintaining a fork to inject custom authentication logic.
  • Asynchronous Python applications using asyncpg that need IAM-authenticated RDS connections.
  • Temporary or ephemeral database access where short-lived tokens align with your security model.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need IAM authentication for RDS PostgreSQL and can accept dormant maintenance (last release 2023-11-08). The package is simple, low-friction to install, and solves a real problem without requiring code changes. However, verify that it remains compatible with your SQLAlchemy, psycopg2/asyncpg, and boto3 versions before deploying to production. Clarify the license terms before use in proprietary contexts.

Install

sqlalchemy-rdsiam on PyPI

Before you install

Low install friction with only two runtime dependencies (SQLAlchemy and boto3). Maintenance is dormant—last release was 2023-11-08, though the repository remains active with a recent commit on 2024-06-26. No active development signals.

Requires IAM permissions configured in AWS to connect to the RDS instance; psycopg2 or asyncpg must be installed separately for the chosen PostgreSQL driver.

License in practice

License treatment is unclear; the raw license field is empty and SPDX is not specified. Verify the actual license terms in the repository before use in proprietary or restricted contexts.

Quickstart

pip install sqlalchemy-rdsiam

from sqlalchemy import create_engine
engine = create_engine('postgresql+psycopg2rdsiam://username@host/dbname')

Verify before relying

  • Whether the package works with SQLAlchemy versions released after 2.0 (fact sheet mentions 1.3, 1.4, 2.0 support but last release was Nov 2023).
  • Current compatibility status with modern versions of psycopg2 and asyncpg given dormant maintenance.
  • Whether the bundled RDS CA certificate is kept current with AWS certificate rotations.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
SQLAlchemyboto3
MaintenanceDormant 1,010 days since the last release
Last repo commit
First released
Downloads81,764 / month, #14,203 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: sqlalchemy_rdsiam-1.0.3-py2.py3-none-any.whl

Tags

Capabilities
sqlalchemy rds iam authenticationaws rds postgresql dialectiam database connection sqlalchemyrds psycopg2 asyncpgaws iam token database authrds connection without password
Topics
aws-rdsiam-authpostgres

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sqlalchemy rds iam authentication”

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also sqlalchemy-aurora-data-api · sqlalchemy-redshift · google-cloud-alloydb-connector · aurora-data-api · sqlalchemy-cockroachdb · aws-psycopg2 · sqlalchemy-pgspider · aws-advanced-python-wrapper · cloud-sql-python-connector · ec2-metadata