Download the PHP package kidfund/thin-transit-client without Composer
On this page you can find all versions of the php package kidfund/thin-transit-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kidfund/thin-transit-client
More information about kidfund/thin-transit-client
Files in kidfund/thin-transit-client
Package thin-transit-client
Short Description Lightweight PHP wrapper around Hashicorp Vault Transit
License MIT
Homepage https://github.com/Kidfund/ThinTransitClient
Informations about the package thin-transit-client
ThinTransitClient
- ThinTransitClient
- What this is
- What this isn't
- Install
- Usage
- Setup
- Encrypting
- Decrypting
- Testing
- Contributing
- Credits
- License
What this is
A very thin PHP wrapper around Hashicorp Vault's Transit Engine
What this isn't
Unfortunatly, this isn't a full fledged vault client. When I started writing LaraVault, these clients didn't exist yet. This client is the bare minimum need to communicate with Transit. Ideally, LaraVault would deprecate the need for this and use one of those clients
Install
Via Composer
Usage
Setup
You'll need to store the address of your vault server and the currently available token somewhere. This is the token setup we use with LaraVault
If we were using the TransitClient in a Laravel Service Providor, we could do something like this
Encrypting
You can also pass a context
Decrypting
You can also pass a context
Testing
Contributing
Please see CONDUCT for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of thin-transit-client with dependencies
guzzlehttp/guzzle Version ~6.0
illuminate/support Version 5.*
illuminate/log Version 5.*