Skip to content

A command line tool to create pre-signed URLs and cookies for Amazon CloudFront.

License

Notifications You must be signed in to change notification settings

johejo/aws-cf-presign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws-cf-presign

A command line tool to create pre-signed URLs and cookies for Amazon CloudFront.

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html

Install

go install github.com/johejo/aws-cf-presign@latest

Usage

Usage of aws-cf-presign:
  -expires int
        unix timestamp to expire
  -key-id string
        CloudFront public key id
  -policy string
        policy json or json file path
  -private-key-path string
        private key path
  -signer string
        signer type: "cookie" or "url" (default "cookie")
  -ttl duration
        time to live (default 1h0m0s)
  -url string
        URL

License

Apache License Version 2.0

About

A command line tool to create pre-signed URLs and cookies for Amazon CloudFront.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages