github.com/aavshr/aws-sdk-go@v1.41.3/example/service/cloudfront/signCookies/README.md (about) 1 # Example 2 3 This example shows how the CloudFront CookieSigner can be used to generate signed cookies to provided short term access to restricted resourced fronted by CloudFront. 4 5 # Usage 6 Makes a request for object using CloudFront cookie signing, and outputs the contents of the object to stdout. 7 8 ```sh 9 go run -tags example signCookies.go -file <privkey file> -id <keyId> -r <resource pattern> -g <object to get> 10 ``` 11 12