awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

Test CloudFront signed URL with the VoD workflow #197

Closed nathanagez closed 3 years ago

nathanagez commented 3 years ago

Is your feature request related to a problem? Please describe. Actually, no tests are setup to validate:

Describe the solution you'd like We want to test the points above.

Describe alternatives you've considered First we have to generate key pairs using openssl genrsa -out private_key.pem 2048 then extract the private key openssl rsa -pubout -in private_key.pem -out public_key.pem When it's done, we will upload the key on CloudFront and add the key ID to a script that will deploy the VoD resources thanks to the headless mode. After those steps we will be able to run the tests using jest.