Skip to content

Commit

Permalink
Doc: add few deployment steps
Browse files Browse the repository at this point in the history
  • Loading branch information
meanii committed Feb 29, 2024
1 parent c64a166 commit 5017191
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# aws-lambda-hls-enc
> Go-powered AWS Lambda tool for swift and efficient HLS file encryption, empowering direct encryption of HLS files within Lambda. Boosts flexibility and scalability for managing media streaming workflows on AWS.
## Deployment

1. Create AWS Lambda function with API Gateway
- Runtime: `Amazon Linux 2`
- Architecture: `arm64`


2. Now, you need to configure a few environment variables.

| Name | Value Type | Description |
|-------------------------------| ----------------| -------------------------------------|
| CLOUDFRONT_ACCESS_KEY_ID | String | Cloudfront Public KeyID |
| CLOUDFRONT_ORIGIN | String | Cloudfront CDN Domain |
| CLOUDFRONT_PRIVATE_KEY_BASE64 | String | Cloudfront Generated Private Key |
| EXPIRE_TIME | String | Signature URL Expiry Time, e.g. (2h) |

0 comments on commit 5017191

Please sign in to comment.