Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Vault Symfony Bundle Laravel Package

damienfern/vault-symfony-bundle

View on GitHub
Deep Wiki
Context7

VaultBundle

About

This bundle integrates Hashicorp Vault secrets into your Symfony application by injecting secrets in environment variables.

Installation

Add the damienfern/vault-symfony-bundle package to your require section in the composer.json file.

$ composer require damienfern/vault-symfony-bundle

Usage

Using token authentication

To use token authentication, you need to configure the bundle with the token obtained from Vault.

Here is an example configuration:

# config/packages/vault.yaml
vault:
    address: 'http://localhost:8200' # Vault server address
    path: 'myapp/config' # Path to your secrets in Vault
    token: 'yourtoken' # Your Vault token

Using AppRole authentication

To use AppRole authentication, you need to configure the bundle with the role_id and secret_id obtained from Vault.

Here is an example configuration:

# config/packages/vault.yaml
vault:
    address: 'http://localhost:8200' # Vault server address
    path: 'myapp/config' # Path to your secrets in Vault
    app_role:
        role_id: ''
        secret_id: ''
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
datacore/hub-sdk
alengo/sulu-http-cache-bundle
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
imbo/imbo-coding-standard
visualbuilder/filament-lottie
servicioslineaonce/starter-kit
atomcoder/laravel-reorderable
irajul/filament-shadcn-theme
agtp/agtp-php
agtp/mod-php
centraldesktop/protobuf-php
trappistes/laravel-custom-fields
splash/sonata-admin
splash/metadata