PHPackages                             tacticmedia/rds-auth-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tacticmedia/rds-auth-bundle

ActiveSymfony-bundle

tacticmedia/rds-auth-bundle
===========================

Symfony bundle for tacticmedia/rds-auth-middleware: Amazon RDS IAM token authentication and master-password refresh for Doctrine DBAL.

00PHPCI passing

Since Aug 14Pushed todayCompare

[ Source](https://github.com/tacticmedia/rds-auth-bundle)[ Packagist](https://packagist.org/packages/tacticmedia/rds-auth-bundle)[ RSS](/packages/tacticmedia-rds-auth-bundle/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony RDS IAM authentication bundle
=====================================

[](#symfony-rds-iam-authentication-bundle)

[![codecov](https://camo.githubusercontent.com/085b7c6bc3db0ee97aefadb15a823a3cb23264c7590bb0441460f14e47caa29c/68747470733a2f2f636f6465636f762e696f2f67682f7461637469636d656469612f7264732d617574682d62756e646c652f67726170682f62616467652e7376673f746f6b656e3d43495138325852475955)](https://github.com/tacticmedia/rds-auth-bundle)

A Symfony bundle that registers and configures [`tacticmedia/rds-auth-middleware`](https://github.com/tacticmedia/rds-auth-middleware), a Doctrine DBAL driver middleware that selects the database credential for an Amazon RDS instance at connect time:

- If `iam_username` is set: connect as that user with an [RDS IAM authentication token](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) as the password.
- If `secret_arn` is set: connect with the configured password; when the database rejects it, re-read the current password from Secrets Manager and retry once.
- Neither set: the connection parameters stay unchanged.

Every option defaults to an environment variable, so one application image runs unchanged in every environment, with either authentication mode or none.

Installation
------------

[](#installation)

The packages are on GitHub and not yet on Packagist, so the consuming project must declare both repositories:

```
composer config repositories.rds-auth-bundle vcs https://github.com/tacticmedia/rds-auth-bundle
composer config repositories.rds-auth-middleware vcs https://github.com/tacticmedia/rds-auth-middleware
composer require tacticmedia/rds-auth-bundle:dev-main tacticmedia/rds-auth-middleware:dev-main
```

See [Installation](docs/installation.md) for the reasoning and for bundle registration without Flex.

Documentation
-------------

[](#documentation)

- [Installation](docs/installation.md) - requirements, Composer setup, bundle registration
- [Configuration](docs/configuration.md) - option reference, environment-variable defaults, examples for each mode
- [The credential cache](docs/credential-cache.md) - cache pool behavior, APCu setup, token lifetime
- [The Doctrine DBAL configuration](docs/doctrine-dbal.md) - what the middleware changes at connect time
- [Bundle internals](docs/architecture.md) - services, middleware registration, package boundary
- [Development and testing](docs/testing.md) - commands, kernel test pattern, CI

License
-------

[](#license)

MIT. See [LICENSE](LICENSE).

###  Health Score

20

—

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a32d26426a5a46eb135149043845f075a5c1ff65c9436217b2a54d8e50de4e04?d=identicon)[janklan](/maintainers/janklan)

---

Top Contributors

[![janklan](https://avatars.githubusercontent.com/u/5463371?v=4)](https://github.com/janklan "janklan (5 commits)")

### Embed Badge

![Health badge](/badges/tacticmedia-rds-auth-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/tacticmedia-rds-auth-bundle/health.svg)](https://phpackages.com/packages/tacticmedia-rds-auth-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
