cloudfront-sign

1.0.7 • Public • Published

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.

Package Sidebar

Install

npm i cloudfront-sign

Weekly Downloads

9

Version

1.0.7

License

Apache 2.0

Last publish

Collaborators

  • leeatkinson