Skip to content

Instantly share code, notes, and snippets.

@cktricky
Created March 4, 2014 22:33
Show Gist options
  • Save cktricky/9357184 to your computer and use it in GitHub Desktop.
Save cktricky/9357184 to your computer and use it in GitHub Desktop.
AWS Cloudfront Signing Config File
# Add config/keys/pk-someRandomString.pem to your .gitignore file so...
# that it isn't stored in source code repos
key_file = Rails.root.join("config", "keys", "pk-someRandomString.pem")
SIGNER = AwsCfSigner.new(key_file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment