A command line tool to create pre-signed URLs and cookies for Amazon CloudFront.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html
go install github.com/johejo/aws-cf-presign@latest
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
Apache License Version 2.0