ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 119 forks source link

Authorization for the Status page #132

Open nodomain opened 5 years ago

nodomain commented 5 years ago

Idea: provide an optional authentication for "internal" status pages. WDYT?

ks888 commented 5 years ago

Thank you for the suggestion. Yes, some people may want the authentication for status pages.

The article below describes how to protect the s3 bucket with the BASIC auth. I think we can protect the s3 bucket of the status page in this way. http://kynatro.com/blog/2018/01/03/a-step-by-step-guide-to-creating-a-password-protected-s3-bucket/

It would be great if we can automatically do this (like by changing auth settings in the admin page), but I'm not very sure when I can take the time to implement the feature.

stopkaya commented 5 years ago

Hi, First of really like the solution, I was able to implement the s3 Basic auth. However would it be possible to also integrate status page authentication using cognito?

pharindoko commented 5 years ago

Thank you for the suggestion. Yes, some people may want the authentication for status pages.

The article below describes how to protect the s3 bucket with the BASIC auth. I think we can protect the s3 bucket of the status page in this way. http://kynatro.com/blog/2018/01/03/a-step-by-step-guide-to-creating-a-password-protected-s3-bucket/

It would be great if we can automatically do this (like by changing auth settings in the admin page), but I'm not very sure when I can take the time to implement the feature.

Hey @ks888,

could you give us a hint what files or functions need to be changed to support this topic and create a pull request.

Greetings,

Flo