AWS IAM db auth package for laravel
hatchetaustralia/laravel-iam-db-auth is a Laravel package for aws iam db auth package for laravel.
It currently has 0 GitHub stars and 28.771 downloads on Packagist (latest version 0.2.0).
Install it with composer require hatchetaustralia/laravel-iam-db-auth.
Discover more Laravel packages by hatchetaustralia
or browse all Laravel packages to compare alternatives.
Last updated
Forked from https://github.com/pixelvide/laravel-iam-db-auth
This is a package to connect Laravel with a AWS RDS instance using IAM authentication.
It includes a service provider that gives the framework our overridden MySQL/PGSQL connector class when it asks for an MySQL/PGSQL connection.
require this package with composer:
composer require hatchetaustralia/laravel-iam-db-auth
Add a missing variables in connection to the config array in config/database.php
<?php [
'mysql' => [
'aws_region' => env('AWS_DEFAULT_REGION'),
'use_iam_auth' => env('DB_USE_IAM_AUTH', true),
],
];
Obtain the rds-combined-ca-bundle.pem from https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html