View Source CloudfrontSigner (cloudfront_signer v1.0.0)
Elixir implementation of cloudfront's signed url algorithm. Basic usage is:
CloudfrontSigner.Distribution.from_config(:scope, :key)
|> CloudfrontSigner.sign("some/path", [arg: "val"], some_expiry)
Summary
Functions
Signs a url for the given Distribution.t
struct constructed from the path
and query_params
provided. expiry
is in seconds.