Download the PHP package nekman/aws-ring-http-signer without Composer
On this page you can find all versions of the php package nekman/aws-ring-http-signer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download nekman/aws-ring-http-signer
More information about nekman/aws-ring-http-signer
Files in nekman/aws-ring-http-signer
Package aws-ring-http-signer
Short Description Sign Ring HTTP calls using AWS credentials
License MIT
Informations about the package aws-ring-http-signer
AWS Ring HTTP Signer
RingPHP has been discontinued. This package does not make sense any more.
In order for AWS to know who/what is making the request it needs to be signed. Using this package, you can sign RingPHP requests with AWS credentials.
Do you want to use this with your Elasticsearch instance hosted on AWS? See the Usage with Elasticsearch section below.
Usage
Install with Composer:
In order to instantiate a new instance of the library, use the factory. Then wrap your Ring HTTP handler with the middleware and use it as normal:
Usage with Elasticsearch
Install with Composer:
In order to instantiate a new instance of the library, use the factory. Then wrap your the Elasticsearch client with the middleware and use it as normal:
AWS Credentials Provider and signatures
By default the library will use the default credentials provider provided by AWS. There are many other ways to load credentials which you can read about in the AWS documentation. Consult the AWS documentation on how to create a SignatureInterface
.
Example
Lets say you want to provide static credentials from environment variables:
Consult the AWS documentation for more information.
Versioning
This project complies with Semantic Versioning.
Changelog
For a complete list of changes, and how to migrate between major versions, see releases page.
All versions of aws-ring-http-signer with dependencies
aws/aws-sdk-php Version ^3.0
psr/http-message Version ^1.0
guzzlehttp/ringphp Version ^1.0
guzzlehttp/psr7 Version ^1.0