1Net::Amazon::S3::SignatUusreer::CVo4nItmrNpielbteu:mt:eeAndmtaaPzteoirnol:n:(DS3o3)c:u:mSeingtnaattiuorne::V4Implementation(3)
2
3
4
6 Net::Amazon::S3::Signature::V4Implementation
7
9 version 0.84
10
12 This module signs an HTTP::Request to Amazon Web Services by appending
13 an Authorization header. Amazon Web Services signature version 4,
14 AWS4-HMAC-SHA256, is used.
15
16 use Net::Amazon::Signature::V4;
17
18 my $sig = Net::Amazon::Signature::V4->new( $access_key_id, $secret, $endpoint, $service );
19 my $req = HTTP::Request->parse( $request_string );
20 my $signed_req = $sig->sign( $req );
21 ...
22
23 The primary purpose of this module is to be used by
24 Net::Amazon::Glacier.
25
27 Net::Amazon::Signature::V4 - Implements the Amazon Web Services
28 signature version 4, AWS4-HMAC-SHA256
29
31 Version 0.19
32
34 new( $access_key_id, $secret, $endpoint, $service )
35 Constructs the signature object, which is used to sign requests.
36
37 Note that the access key ID is an alphanumeric string, not your account
38 ID. The endpoint could be "eu-west-1", and the service could be
39 "glacier".
40
41 sign( $request )
42 Signs a request with your credentials by appending the Authorization
43 header. $request should be an HTTP::Request. The signed request is
44 returned.
45
46 sign_uri( $uri, $expires_in? )
47 Signs an uri with your credentials by appending the Authorization query
48 parameters.
49
50 $expires_in integer value in range 1..604800 (1 second .. 7 days).
51
52 $expires_in default value is its maximum: 604800
53
54 The signed uri is returned.
55
57 Tim Nordenfur, "<tim at gurka.se>"
58
59 Maintained by Dan Book, "<dbook at cpan.org>"
60
62 Please report any bugs or feature requests to
63 "bug-net-amazon-signature-v4 at rt.cpan.org", or through the web
64 interface at
65 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Amazon-Signature-V4>.
66 I will be notified, and then you'll automatically be notified of
67 progress on your bug as I make changes.
68
70 You can find documentation for this module with the perldoc command.
71
72 perldoc Net::Amazon::Signature::V4
73
74 You can also look for information at:
75
76 · RT: CPAN's request tracker (report bugs here)
77
78 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Amazon-Signature-V4>
79
80 · AnnoCPAN: Annotated CPAN documentation
81
82 <http://annocpan.org/dist/Net-Amazon-Signature-V4>
83
84 · CPAN Ratings
85
86 <http://cpanratings.perl.org/d/Net-Amazon-Signature-V4>
87
88 · Search CPAN
89
90 <http://search.cpan.org/dist/Net-Amazon-Signature-V4/>
91
93 Copyright 2012 Tim Nordenfur.
94
95 This program is free software; you can redistribute it and/or modify it
96 under the terms of either: the GNU General Public License as published
97 by the Free Software Foundation; or the Artistic License.
98
99 See http://dev.perl.org/licenses/ for more information.
100
102 Leo Lapworth <llap@cpan.org>
103
105 This software is copyright (c) 2018 by Amazon Digital Services, Leon
106 Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover.
107
108 This is free software; you can redistribute it and/or modify it under
109 the same terms as the Perl 5 programming language system itself.
110
111
112
113perl v5.28.0 Net2:0:1A8m-a0z7o-n1:6:S3::Signature::V4Implementation(3)