minhajul/aws-secret-manager
最新稳定版本:1.0.0
Composer 安装命令:
composer require minhajul/aws-secret-manager
包简介
Laravel implementation of AWS Secret Manager
README 文档
README
Easy implementation of AWS secret manager just to get the key value pair of specific secret id.
Installation
You can install the package via composer:
composer require minhajul/aws-secret-manager
You can publish the config file with:
php artisan vendor:publish --tag="aws-secret-manager-config"
This is the contents of the published config file:
return [ 'aws_secret_key_id' => env('AWS_ACCESS_KEY_ID'), 'aws_secret_access_key' => env('AWS_SECRET_ACCESS_KEY'), 'aww_default_region' => env('AWS_DEFAULT_REGION') ];
Usage
use Minhajul\AwsSecretManager\AwsSecretManager; $awsSecretManager = new AwsSecretManager(); dd($awsSecretManager->getSecretKey('local_encryption_key'));
Testing
composer test
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 737
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-12