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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

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

PHP Build Version
Package Version
Requires php Version >=7.4
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package elixis-group/gcp-secret-manager-bundle contains the following files

Loading the files please wait ....