Download the PHP package elixis-group/gcp-secret-manager-bundle without Composer
On this page you can find all versions of the php package elixis-group/gcp-secret-manager-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elixis-group/gcp-secret-manager-bundle
More information about elixis-group/gcp-secret-manager-bundle
Files in elixis-group/gcp-secret-manager-bundle
Package gcp-secret-manager-bundle
Short Description Use GCP Secrets as service container parameters in Symfony, and provided provider class to access secrets value.
License MIT
Informations about the package gcp-secret-manager-bundle
GCP Secret Manager Bundle for Symfony
Version 2.0.2 Created 2021/08/12 Last Update 2023/12/05
Use GCP Secrets as service container parameters in Symfony, and provided provider class to access secrets value.
Prerequisites
Configure Secret Manager in your project Google Cloud, see following article who explain how create and configure Google Secret Manager https://cloud.google.com/secret-manager/docs/configuring-secret-manager.
Warning in local dev environment, you need create a service account to set global var GOOGLE_APPLICATION_CREDENTIALS. See https://cloud.google.com/iam/docs/service-accounts#user-managed.
Installation
Warning ! Befor install bundle, a minimal configuration is required. Google Secret Manager need a global var GOOGLE_APPLICATION_CREDENTIALS.
Create file and add the following.
Activating GCP Secret Manager Bundle.
Configuration
By default, configuration for this bundle is loaded from config/packages/gcp_secret_manager.yaml file or its environment specific.
The following configuration properties are available:
Default usage
Set an env var to an AWS Secret Manager Secret name and Secret version separate by the separator define in config or the default one, like so:
Set a parameter to this environment variable with the gcp processor:
Service Container Usage
A standalone service container is also available if you don't want use a service container parameters.
Examples
All versions of gcp-secret-manager-bundle with dependencies
symfony/flex Version ^2.4
google/cloud-secret-manager Version ^1.12
symfony/dependency-injection Version ^5.4|^6.0|^6.4
symfony/yaml Version ^5.4|^6.0|^6.4
phpunit/phpunit Version ^9.6