Netlify functions for working with Amazon S3/Digitalocean Spaces. It uses Netlify Identity for authentication, so only logged-in users can make requests to S3/Spaces.
Deploy this repo to Netlify using the 'Deploy to Netlify'-button below:
In Netlify, go to settings > environment and create the following environment variables for your Amazon S3 or Digitalocean Spaces settings
S3_ENDPOINT
: your S3/Spaces endpoint (e.g ams3.digitaloceanspaces.com)
S3_KEY
: your S3/Spaces key
S3_SECRET
: your S3/Spaces secret
S3_BUCKET
: your S3/Spaces bucket
In Netlify, go to 'Identity' and press 'Enable Identity'
Log in to your website via /login
After login, you'll be redirected to the homepage, where you can test the integration with S3/Spaces
Don't forget to press the ⭐ button to let me know I should continue improving this project