cabal-version: 2.2
name: aws-cloudfront-signed-cookies
version: 0.2.0.8
synopsis: Generate signed cookies for AWS CloudFront
category: Network, AWS, Cloud
description: One way to [serve private content through AWS CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) is to use [signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-cookies.html). This package helps you generate signed cookies [using a custom IAM policy](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-setting-signed-cookie-custom-policy.html) which may include a range of time for which the cookie is valid and an IP address restriction.
homepage: https://github.com/typeclasses/aws-cloudfront-signed-cookies
bug-reports: https://github.com/typeclasses/aws-cloudfront-signed-cookies/issues
author: Chris Martin
maintainer: Chris Martin, Julie Moronuki
copyright: 2021 Mission Valley Software LLC
license: MIT
license-file: license.txt
build-type: Simple
tested-with:
GHC == 9.0.1
, GHC == 8.10.1
, GHC == 8.8.1
, GHC == 8.6.3
, GHC == 8.4.4
, GHC == 8.2.2
extra-source-files:
readme.md
, changelog.md
source-repository head
type: git
location: https://github.com/typeclasses/aws-cloudfront-signed-cookies
library
default-language: Haskell2010
hs-source-dirs: library
exposed-modules:
Network.AWS.CloudFront.SignedCookies
, Network.AWS.CloudFront.SignedCookies.CLI
, Network.AWS.CloudFront.SignedCookies.CLI.Decode
, Network.AWS.CloudFront.SignedCookies.CLI.Sign
, Network.AWS.CloudFront.SignedCookies.Crypto
, Network.AWS.CloudFront.SignedCookies.Encoding
, Network.AWS.CloudFront.SignedCookies.Policy
, Network.AWS.CloudFront.SignedCookies.Types
other-modules:
Network.AWS.CloudFront.SignedCookies.CLI.Internal
, Network.AWS.CloudFront.SignedCookies.Crypto.Internal
build-depends:
aeson
^>= 1.4
|| ^>= 1.5
, aeson-pretty
^>= 0.8
, asn1-encoding
^>= 0.9.5
, asn1-types
^>= 0.3.2
, base
^>= 4.10
|| ^>= 4.11
|| ^>= 4.12
|| ^>= 4.13
|| ^>= 4.14
|| ^>= 4.15
, base64-bytestring
^>= 1.0.0.2
|| ^>= 1.1
|| ^>= 1.2
, bytestring
^>= 0.10.8.1
|| ^>= 0.11
, cookie
^>= 0.4.3
, cryptonite
^>= 0.25
|| ^>= 0.26
|| ^>= 0.27
|| ^>= 0.28
|| ^>= 0.29
, lens
^>= 4.15.2
|| ^>= 4.16
|| ^>= 4.17
|| ^>= 4.18
|| ^>= 4.19
|| ^>= 5
, lens-aeson
^>= 1.0.2
|| ^>= 1.1
, optparse-applicative
^>= 0.14.1.0
|| ^>= 0.15
|| ^>= 0.16
, pem
^>= 0.2.3
, text
^>= 1.2.3
, time
^>= 1.8
|| ^>= 1.9
, unordered-containers
^>= 0.2.10
, vector
^>= 0.12.0.1
executable aws-cloudfront-signed-cookies
default-language: Haskell2010
hs-source-dirs: executables
main-is: aws-cloudfront-signed-cookies.hs
build-depends:
aws-cloudfront-signed-cookies
, base
^>= 4.10
|| ^>= 4.11
|| ^>= 4.12
|| ^>= 4.13
|| ^>= 4.14
|| ^>= 4.15
test-suite hedgehog
default-language: Haskell2010
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: hedgehog.hs
ghc-options: -threaded
build-depends:
aws-cloudfront-signed-cookies
, base
^>= 4.10
|| ^>= 4.11
|| ^>= 4.12
|| ^>= 4.13
|| ^>= 4.14
|| ^>= 4.15
, hedgehog
^>= 0.6
|| ^>= 1.0
, neat-interpolation
^>= 0.3.2
|| ^>= 0.4
|| ^>= 0.5