2017 © Pedro Peláez
 

library lockr-client

Client for use with Lockr off-site key management service.

image

lockr/lockr-client

Client for use with Lockr off-site key management service.

  • Tuesday, November 21, 2017
  • by tynor
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3,770 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 15 Versions
  • 24 % Grown

The README.md

Lockr API Client

Usage Overview

$cert_path = '/path/to/lockr/client/cert.pem';
$partner_name = 'lockr partner name';
$region = 'us';

// Partner is the authentication unit for Lockr.
// $cert_path is the path to a PEM encoded x509 certificate
// provided by Lockr.
// $partner_name is the name of the partner to authenticate,
// usually 'custom' for certificates provided directly by Lockr.
// $region indicates where to store keys ('us' or 'eu')
$partner = new \Lockr\Partner($cert_path, $partner_name, $region);
$client = new \Lockr\Lockr($partner);

// SiteClient provides operations on a site.
$site_client = new \Lockr\SiteClient($client);

$status = $site_client->exists();

// KeyClient provides operations for keys.
$key_client = new \Lockr\KeyClient($client);

$key_client->set('my_key', 'secret key value', 'My Key');
$key_value = $key_client->get('my_key');

The Versions

21/11 2017

dev-master

9999999-dev

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

21/11 2017

v1.6.3

1.6.3.0

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

20/02 2017

v1.6.2

1.6.2.0

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

20/02 2017

v1.6.1

1.6.1.0

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

22/01 2017

v1.6

1.6.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

15/09 2016

v1.5

1.5.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

27/07 2016

v1.4.2

1.4.2.0

Client for use with Lockr off-site key management service.

  Sources   Download

MIT

by Tynor Fujimoto

26/07 2016

v1.4.1

1.4.1.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

12/07 2016

v1.4

1.4.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

11/07 2016

v1.3

1.3.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

11/07 2016

v1.2

1.2.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

21/04 2016

v1.1

1.1.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

13/04 2016

v1.0.2

1.0.2.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

13/04 2016

v1.0.1

1.0.1.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto

05/04 2016

v1.0

1.0.0.0

Client for use with Lockr off-site key management service.

  Sources   Download

by Tynor Fujimoto