hatchetaustralia/laravel-iam-db-auth
最新稳定版本:0.2.0
Composer 安装命令:
composer require hatchetaustralia/laravel-iam-db-auth
包简介
AWS IAM db auth package for laravel
README 文档
README
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.
Installation
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
统计信息
- 总下载量: 22.07k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2021-04-19