Net::A...nature(3pm)
β¨ NAME β¨
So bestie, gather round π β this is Net::Amazon::S3::Signature, and it's literally the S3 Signature implementation base class. That's the whole vibe. It's the blueprint that other signature classes get built on, no cap.
πΈ VERSION πΈ
This is version 0.992 β iconic behavior, periodt.
π METHODS π
π
new
The signature class is supposed to accept an HTTPRequest instance and figure out every single required parameter straight from that instance. Like, it doesn't go hunting around elsewhere β the request itself is giving everything it needs. Main character energy fr fr.
π¦ sign_request( $request )
The signature class should hand you back an authenticated request, based on the parameter you gave it.
Heads up bestie: the parameter can be modified. So don't clutch your original too hard, okay? π
π sign_uri( $request, $expires_at?, $method? )
Same idea, different flavor β this one returns an authenticated URI based on the request you pass in. π
Now for the deets:
$expires_atβ this is the expiration time, and it's in seconds (epoch). The default value and the maximal allowed value may depend on which signature version you're working with. So like, don't assume, iykyk. π- Default request date is the current time. But the signature class should accept a provided
X-Amz-Dateheader instead β that's if you're signing a request β or aX-Amz-Datequery parameter instead, if you're signing a uri. The way it switches up depending on the context? Obsessed. β
π AUTHOR π
Branislav ZahradnΓk <barney@cpan.org> β put some respect on the name π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2025 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav ZahradnΓk. A whole squad, honestly. π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay. π
And that's the tea, bestie π β this page came to you from perl v5.40.1, dated 2025-12-07, part of the User Contributed Perl Documentation collection. Go forth and sign those requests, you absolute icon. π§β¨
π¦ where this page comes from
- ubuntu resolute: libnet-amazon-s3-perl 0.992-1 Β· other
- ubuntu stonking: libnet-amazon-s3-perl 0.992-1 Β· other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms