Download the PHP package mittwald/vault-php without Composer
On this page you can find all versions of the php package mittwald/vault-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mittwald/vault-php
More information about mittwald/vault-php
Files in mittwald/vault-php
Package vault-php
Short Description A PHP client library for 'Vault by HashiCorp'
License MIT
Homepage https://www.mittwald.de/
Informations about the package vault-php
VaultPHP
A modern PHP client for HashiCorp Vault — unlock secure secrets management in your PHP applications.
Features
- API Client for HashiCorp Vault
Simple and intuitive interface for Vault HTTP API. - Bulk Operations
Perform read/write operations on multiple secrets in a single workflow for efficiency. - Authentication Support
Compatible with popular Vault auth backends (Token, AppRole, User/Password, etc.). - Secret Engines
Easy interaction with common secret engines (Transit, etc.). - Typed Responses
Strong-typed, doctrine-based responses for safer PHP development. - Extendable & PSR-compliant
Easily extend class behaviors and integrate with PSR-18 HTTP clients.
Installation
Install via Composer:
Usage
Below is a basic example of how to interact with Vault using this library:
For more advanced use (custom HTTP clients, other auth methods, etc.), see the examples/
directory.
Supported Vault Operations
- Authentication
- Token
- AppRole
- User/Password
- Kubernetes
- Transit Secret Engine
- Encrypt/Decrypt
- Update Key Config
- Create Key
- Delete Key
- List Keys
- Sign Data
Configuration
You can inject any PSR-18 HTTP Client for maximum flexibility:
Testing
To run the test suite:
Security
If you discover any security issues, please see SECURITY.md
for responsible disclosure guidelines.
License
This library is Open Source and distributed under the MIT license.