Skip to content

leeatkinson/CloudFrontSign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFront Sign

An Amazon CloudFront URL signer, supporting canned and custom policies.

Install

npm install -g cloudfront-sign

Execution

cfsign -r <resource> -l <date-less-than> -g <date-greater-than> -a <ip-address> -k <key-pair-id> -p <private-key-path> <url>

or, using the argument long names:

cfsign --resource <resource> --date-less-than <date-less-than> --date-greater-than <date-greater-than> --ip-address <ip-address> --key-pair-id <key-pair-id> --private-key-path <private-key-path> <url>
  • If you do not specify a resource, the URL is used.
  • If you do not specify a 'date-less-than', a value of five minutes from now is used.

Releases

No releases published

Packages

No packages published