Download the PHP package tacticmedia/rds-auth-bundle without Composer
On this page you can find all versions of the php package tacticmedia/rds-auth-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tacticmedia/rds-auth-bundle
More information about tacticmedia/rds-auth-bundle
Files in tacticmedia/rds-auth-bundle
Package rds-auth-bundle
Short Description Symfony bundle for tacticmedia/rds-auth-middleware: Amazon RDS IAM token authentication and master-password refresh for Doctrine DBAL.
License MIT
Informations about the package rds-auth-bundle
Symfony RDS IAM authentication bundle
TL;DR: A bundle you would install in your RDS-powered Symfony application to add seamless support for IAM authentication or managed, automatically rotated password to improve your baseline security posture.
A Symfony bundle that registers and configures tacticmedia/rds-auth-middleware, which selects the database credential for an Amazon RDS instance at connect time using the following logic:
- If
iam_usernameis set: connect as that user with an RDS IAM authentication token as the password. - If
secret_arnis set: connect with the configured password; when the database rejects it, re-read the current password from Secrets Manager, retry once, and dispatch aConfiguredPasswordOutdatedevent so the application can alert or redeploy. - 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
See Installation for bundle registration.
Documentation
- Installation - requirements, Composer setup, bundle registration
- Configuration - option reference, environment-variable defaults, examples for each mode
- The credential cache - cache pool behavior, APCu setup, token lifetime
- The ConfiguredPasswordOutdated event - firing conditions, payload, listener registration
- The Doctrine DBAL configuration - what the middleware changes at connect time
- Bundle internals - services, middleware registration, package boundary
- Development and testing - commands, kernel test pattern, CI
Contributions
Non-LLM-slop contributions and issues are most definitely welcome.
License
MIT. See LICENSE.
One more thing
This package is brought to you by Tactic Media, a South Australian software development business.
We love to help businesses become more efficient by automating tasks that shouldn't have been done by a human in the first place.
Head over to our website to check out what we do, and if you think we can help you give your employees more time to spend on something more creative, let's talk
All versions of rds-auth-bundle with dependencies
doctrine/doctrine-bundle Version ^2.13 || ^3.0
symfony/config Version ^6.4 || ^7.4 || ^8.0
symfony/dependency-injection Version ^6.4 || ^7.4 || ^8.0
symfony/http-kernel Version ^6.4 || ^7.4 || ^8.0
tacticmedia/rds-auth-middleware Version ^1.1