Amazon CloudFront Authentication Tool for Curl
Community Contributed Software
-
Amazon Web Services provides links to these packages as a convenience for our customers,
but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
-
Please review this software to ensure it meets your needs before using it.
Curl is a popular command-line tool for interacting with HTTP services. This Perl script calculates the proper Amazon CloudFront authentication signature, then calls Curl with the appropriate arguments.
Details
About This Sample
- Curl is a popular command-line tool for interacting with HTTP services.
- This Perl script calculates the proper Amazon CloudFront authentication signature, then calls Curl with the appropriate arguments.
Prerequisites
- You must be signed up to use Amazon S3 and Amazon CloudFront. You can sign up for Amazon S3 at http://aws.amazon.com/s3 and Amazon CloudFront at http://aws.amazon.com/cloudfront.
- This sample was built using Perl 5.8.0.
- The following Perl modules, which you can download from CPAN:
- Digest::HMAC_SHA1
- FindBin
- MIME::Base64
- Getopt::Long
- File::Temp
- File::Basename
- Fcntl
- This sample requires version 7.16.2 or newer of Curl .
Running the Sample