secretary/secretary-bundle
最新稳定版本:3.0.6
Composer 安装命令:
composer require secretary/secretary-bundle
包简介
Secrets Manager Bundle for Symfony
README 文档
README
This Bundle Experimental!
Secrets are an important aspect of most applications you can build. How you store them, and keep them "secret" is a challenge. Luckily, there are tools you can use to keep them all safe.
Secretary is a tool to integrate your PHP application with these tools.
You can find more information about the underlying library over at the main docs.
Installation
$ composer require secretary/symfony
Configuration
# config/packages/secretary.yamlg services: Symfony\Component\Cache\Adapter\ApcuAdapter: arguments: ['secrets', 300000] secretary: adapters: json: adapter: Secretary\Adapter\Local\JSONFile\LocalJSONFileAdapter config: file: '%kernel.root_dir%/config/secrets.json' aws: adapter: Secretary\Adapter\AWS\SecretsManager\AWSSecretsManagerAdapter config: region: 'us-east-1' version: 'latest' credentials: key: "%env(API_AWS_ACCESS_KEY_ID)%" secret: "%env(API_AWS_SECRET_ACCESS_KEY)%" default: # chain adapter adapter: Secretary\Adapter\Chain\ChainAdapter config: - @secretary.adapter.json - @secretary.adapter.aws cache: enabled: true type: psr6 service_id: cache.secrets
统计信息
- 总下载量: 82.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-17