Download the PHP package nohnaimer/yii2-vault-project-configuration without Composer
On this page you can find all versions of the php package nohnaimer/yii2-vault-project-configuration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nohnaimer/yii2-vault-project-configuration
More information about nohnaimer/yii2-vault-project-configuration
Files in nohnaimer/yii2-vault-project-configuration
Package yii2-vault-project-configuration
Short Description This extension helps you to easily store and retrieve settings for your project with Hashicorp Vault backend.
License BSD-3-Clause
Homepage https://github.com/nohnaimer/yii2-vault-project-configuration
Informations about the package yii2-vault-project-configuration
yii2-vault-project-configuration
This extension helps you to easily store and retrieve settings for your project.
Installation
The preferred way to install this extension through composer.
You can set the console
or add
in section in composer.json
file.
Configuration
For store php-fpm environment variables from system (macOS, Linux, Unix) need to uncomment clear_env = no string in /etc/php/php-fpm.d/www.conf
Need add environment variables:
docker-compose example:
And need to init key value storage in Hashicorp Vault use api or web gui with VAULT_KV_PATH string.
Using
bootstrap.php
Where is secret /kv/db and key name, host, username, password. Delimiter - .
Management
Use yii2-setting classes to add or delete data from vault use yii2 migrations.
Use yii2 migrations
You can use something like this:
License
yii2-vault-project-configuration it is available under a BSD 3-Clause License. Detailed information can be found in the LICENSE.md
.
All versions of yii2-vault-project-configuration with dependencies
yiisoft/yii2 Version >=2.0.13
lav45/yii2-settings Version 1.3.*
nohnaimer/yii2-vault-client Version 0.1.*