2017 © Pedro Peláez
 

library aws-signature-middleware

Middleware to sign request for AWS API

image

wizacha/aws-signature-middleware

Middleware to sign request for AWS API

  • Friday, January 12, 2018
  • by mnapoli
  • Repository
  • 4 Watchers
  • 20 Stars
  • 52,061 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 5 Versions
  • 17 % Grown

The README.md

AwsEsConnection

Kind of connector to use AWS Elasticsearch Service with elastic/elasticsearch-php client, (*1)

Build Status, (*2)

Installation

composer require wizacha/aws-signature-middleware, (*3)

Usage

Exemple with elasticsearch client, (*4)

<?php
$credentials = new \Aws\Credentials\Credentials('id', 'secret');
$signature = new \Aws\Signature\SignatureV4('es', 'eu-west-1');

$middleware = new \Wizacha\Middleware\AwsSignatureMiddleware($credentials, $signature);
$defaultHandler = \Elasticsearch\ClientBuilder::defaultHandler();
$awsHandler = $middleware($defaultHandler);

$clientBuilder =  \Elasticsearch\ClientBuilder::create();

$clientBuilder
    ->setHandler($awsHandler)
    ->setHosts(['endpoint.eu-west-1.es.amazonaws.com:80'])
;
$client = $clientBuilder->build();

The Versions

12/01 2018

dev-master

9999999-dev

Middleware to sign request for AWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware aws signature guzzle

12/01 2018

v0.1.2

0.1.2.0

Middleware to sign request for AWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware aws signature guzzle

12/01 2018

dev-fix-regression-old-es

dev-fix-regression-old-es

Middleware to sign request for AWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware aws signature guzzle

04/01 2018

v0.1.1

0.1.1.0

Middleware to sign request for AWS API

  Sources   Download

MIT

The Requires

 

The Development Requires

middleware aws signature guzzle

12/10 2015

v0.1.0

0.1.0.0

Middleware to sign request for AWS API

  Sources   Download

MIT

The Requires

 

middleware aws signature guzzle