NAME

Amazon::S3::Thin::Signer::V4 - AWS Version 4 Signer

SYNOPSIS

# create a client object
my $s3client = Amazon::S3::Thin->new({
  aws_access_key_id => $aws_access_key_id,
  aws_secret_access_key => $secret_access_key,
});

# create a signer
my $signer = Amazon::S3::Thin::Signer::V4->new($s3client);

# create a request
my $request = HTTP::Request->new(...);

# sign the request using the client keys
$signer->sign($request);

DESCRIPTION

This module creates objects that can sign AWS requests using signature version 4, as implemented by the AWS::Signature4 module.

METHODS

sign($request)

Signs supplied HTTP::Request object, adding required AWS headers.

signer

Returns an AWS::Signature4 object for signing requests

LICENSE

Copyright (C) 2016, Robert Showalter

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Robert Showalter

SEE ALSO

AWS::Signature4