vitabaks / autobase

Automated database platform for PostgreSQL® — the open-source alternative to cloud-managed databases.
https://autobase.tech
MIT License
1.88k stars 420 forks source link

Authentication support in etcd #822

Open chobostar opened 3 days ago

chobostar commented 3 days ago

I would like to discuss the current lack of certificate authentication in etcd configuration:

https://github.com/vitabaks/autobase/blob/master/automation/roles/etcd/templates/etcd.conf.j2

In a previous discussion, it was mentioned that sensitive information is not stored in DCS, as highlighted here: https://github.com/vitabaks/autobase/issues/361#issuecomment-1572279916

sensitive information is not stored in DCS.

Despite this position, there remains a potential risk scenario:

Given the potential risks outlined, I kindly request reconsideration of the current decision to leave etcd unprotected. Implementing certificate authentication can provide an additional layer of security and protect against these vulnerabilities.

Thanks for attention and waiting for your feedback for possible security mitigation.

vitabaks commented 3 days ago

Thank you so much for raising this important issue! We fully agree that security is a critical aspect, and we’ll prioritize this task accordingly.

As an open-source project, we greatly appreciate contributions from the community. If you have the time and interest, please feel free to submit a PR with your proposed solution. This will help us implement the necessary changes faster and improve the project even further.