bref/secrets-loader
最新稳定版本:1.1.0
Composer 安装命令:
composer require bref/secrets-loader
包简介
Load secret values from SSM into environment variables
README 文档
README
Automatically load secrets from SSM into environment variables when running with Bref.
It replaces (at runtime) the variables whose value starts with bref-ssm:. For example, you could set such a variable in serverless.yml like this:
provider: # ... environment: MY_PARAMETER: bref-ssm:/my-app/my-parameter
In AWS Lambda, the MY_PARAMETER would be automatically replaced and would contain the value stored at /my-app/my-parameter in AWS SSM Parameters.
This feature is shipped as a separate package so that all its code and dependencies are not installed by default for all Bref users. Install this package if you want to use the feature.
Installation
composer require bref/secrets-loader
Usage
Read the Bref documentation: https://bref.sh/docs/environment/variables.html#secrets
统计信息
- 总下载量: 448.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-21