In this example we will provide step-by-step instructions to create Amazon CloudFront Signed URLs with both canned and custom policies using: AWS Lambda as the execution tool; AWS Secrets Manager to manage the private signing key for security best practices; Amazon S3 as a restricted content source.
Main Code: 101 LOC (4 files) = JS (86%) + HTML (13%) Secondary code: Test: 0 LOC (0); Generated: 0 LOC (0); Build & Deploy: 0 LOC (0); Other: 343 LOC (13); |
|||
Duplication: 38% | |||
File Size: 0% long (>1000 LOC), 100% short (<= 200 LOC) | |||
|
Logical Component Decomposition: primary (3 components) | ||
|
1 year old
|
|
|
|
0% of code updated more than 50 times Also see temporal dependencies for files frequently changed in same commits. |
|
|
|
Goals: Keep the system simple and easy to change (4) |
|
Latest commit date: 2021-06-25
0
commits
(30 days)
0
contributors
(30 days) |
|
generated by sokrates.dev (configuration) on 2022-01-31