AWS-Signature4
view release on metacpan or search on metacpan
1.02 -Syntax error fixes (pull request from unixtastic)
-Added Date::Parse dependency (pull request from MartinMcGrath)
1.01 -Improvements to the region guessing algorithm to support s3 virtual hosts
1.00 -Basic module written.
lib/AWS/Signature4.pm view on Meta::CPAN
Argument name Argument Value
------------- --------------
-access_key An AWS acccess key (account ID)
-secret_key An AWS secret key
-security_token A VM::EC2::Security::Token object
If a security token is provided, it overrides any values given for
-access_key or -secret_key.
If the environment variables EC2_ACCESS_KEY and/or EC2_SECRET_KEY are
set, their contents are used as defaults for -acccess_key and
-secret_key.
=cut
sub new {
my $self = shift;
lib/AWS/Signature4.pm view on Meta::CPAN
request using an "X-Amz-Date header." To force the date and time to a
fixed value, include the "Date" header in the request.
The request content, or "payload" is retrieved from the HTTP::Request
object by calling its content() method.. Under some circumstances the
payload is not included directly in the request, but is in an external
file that will be uploaded as the request is executed. In this case,
you must pass a second argument containing the results of running
sha256_hex() (from the Digest::SHA module) on the content.
The method returns a true value if successful. On errors, it will
throw an exception.
=item $url = $signer->signed_url($request)
This method will generate a signed GET URL for the request. The URL
will include everything needed to perform the request.
=back
=cut
( run in 1.971 second using v1.01-cache-2.11-cpan-49f99fa48dc )