-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | | ||
|