rauchfuss-io/gcpsecretmanager-envvarprocessor
Composer 安装命令:
composer require rauchfuss-io/gcpsecretmanager-envvarprocessor
包简介
A small Symfony Custom EnvVarProcessor bundle for retrieving Secrets from GCP Secret Manager
README 文档
README
What is this EnvVarProcessor for the GCP Secret Manager?
This bundle will help you to retrieve secrets from GCP Secret Manager on runtime. Define this service within your Symfony services.yaml by adding the following:
Rauchfussio\GCPSecretManagerEnvVarProcessor\: resource: '../vendor/rauchfuss-io/gcpsecretmanager-envvarprocessor/src/*' tags: ['container.env_var_processor'] arguments: $gcpProjectId: 'YOUR GCP PROJECTID' $gcpCredentialsFile: 'YOUR SERVICE ACCOUNT PRIVATE KEY'
Now you can define which secrets you want to request on runtime:
App\Controller\DefaultController: class: 'App\Controller\DefaultController' arguments: $secret: '%env(string:gcpsecretmanager:YOURSECRET)%'
Installation
- Require the bundle with composer:
composer require rauchfuss-io/gcpsecretmanager-envvarprocessor
统计信息
- 总下载量: 105
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2020-06-11