Weave 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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table