Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Example Cloudflare Workers® script for caching and serving media assets from a private S3 bucket by signing them.

License

Notifications You must be signed in to change notification settings

baturalpk/cloudflare-s3-servicer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudflare-s3-servicer

🔥 How to deploy?


  1. Install Wrangler and authenticate to your Cloudflare account.

  2. 🤫 Create required AWS secrets for the project:

    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • AWS_DEFAULT_REGION
    • AWS_S3_BUCKET

Hint: Add each secret variable via wrangler secret put command.

  1. 🔎 Review wrangler.toml file and modify it depending on your requirements.

  2. Publish to Cloudflare via wrangler publish.

About

Example Cloudflare Workers® script for caching and serving media assets from a private S3 bucket by signing them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published