2017 © Pedro Peláez
 

library vault

Koshatul Vault Config Storage

image

koshatul/vault

Koshatul Vault Config Storage

  • Tuesday, April 5, 2016
  • by Koshatul
  • Repository
  • 2 Watchers
  • 2 Stars
  • 43 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 23 % Grown

The README.md

~Hashicorp Vault Class for PHP~

This is unmaintained, I haven't used it in quite a while and don't have the time to update and test it properly., (*1)

A interface for retrieving values from Hashicorp Vault in a PHP Project., (*2)

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*3)

Installation

Use Composer to install the package:, (*4)

Add the following to your composer.json and run composer update., (*5)

"require": {
    "koshatul/vault": "~1.0"
}

Usage

You can use this package to get configuration from a global or specific configuration store., (*6)

use Koshatul\Vault\Vault;
use Koshatul\Vault\VaultURI;
use Koshatul\Vault\VaultAuthToken;

$vaultURI = new VaultURI("http://127.0.0.1:8200/v1/");
$vaultAuthToken = new VaultAuthToken("tttttttt-wwww-xxxx-yyyy-zzzzzzzzzzzz");
$vault = new Vault($vaultURI, $vaultAuthToken);

$vault->write('secret/foo' ['pear' => 'table']);

$testValue = $vault->read('secret/foo');
echo "Pear: ".$testValue->get('pear');

The Versions

05/04 2016

dev-master

9999999-dev

Koshatul Vault Config Storage

  Sources   Download

MIT

The Requires

 

05/04 2016

v1.0.4

1.0.4.0

Koshatul Vault Config Storage

  Sources   Download

MIT

The Requires

 

05/04 2016

v1.0.3

1.0.3.0

Koshatul Vault Config Storage

  Sources   Download

MIT

The Requires

 

The Development Requires

04/04 2016

v1.0.2

1.0.2.0

Koshatul Vault Config Storage

  Sources   Download

MIT

The Requires

 

The Development Requires

04/04 2016

v1.0.1

1.0.1.0

Koshatul Vault Config Storage

  Sources   Download

MIT

The Requires

 

The Development Requires

04/04 2016

v1.0.0

1.0.0.0

Koshatul Vault Config Storage

  Sources   Download

MIT

The Requires

 

The Development Requires