Amazon::S3::SignedURLGenerator - Amazon S3 Signed URL Generator
use Amazon::S3::SignedURLGenerator; my $generator = Amazon::S3::SignedURLGenerator->new( aws_access_key_id => $aws_access_key_id, aws_secret_access_key => $aws_secret_access_key, prefix => 'https://mybucket.s3.amazonaws.com', expires => 600, # 10 minutes ); my $url = $generator->generate_url('GET', 'path/file.txt', {});
Amazon::S3::SignedURLGenerator is just a copy of Muck::FS::S3::QueryStringAuthGenerator without unnecessary dependencies.
https://github.com/rbrigham/s3-signed-url
Muck
Fayland Lam <fayland@gmail.com>
Copyright 2017- Fayland Lam
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Amazon::S3::SignedURLGenerator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Amazon::S3::SignedURLGenerator
CPAN shell
perl -MCPAN -e shell install Amazon::S3::SignedURLGenerator
For more information on module installation, please visit the detailed CPAN module installation guide.