Closed timoaudi closed 1 year ago
Hmmm, I think it may not work now. The essence is to run basicAuth() with Lambda@Edge, so you may as well try that.
Thanks @k1LoW will give that a shot. I also found this which looks like a bit of manual clicking work but definitely doable: https://www.golinuxcloud.com/protect-s3-bucket-with-basic-authentication/#Step_1_Create_S3_bucket
Last commit is 4 years ago but I wanted to give this a shot anyway. Got pretty far but when trying to deploy, I get this:
This is what my configuration looks like:
Any advice how to get this to work or any suggestions for alternatives how to easily setup basic authentication for an S3 bucket without it being too much rocket science? Thanks 🙂