Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Connections With Certificates #228

Open
birm opened this issue Feb 6, 2025 · 2 comments
Open

Database Connections With Certificates #228

birm opened this issue Feb 6, 2025 · 2 comments

Comments

@birm
Copy link
Member

birm commented Feb 6, 2025

This is mostly about keycloak deployments, where the db has a plaintext password in the config. As a step 0 for hardening, support sharing certs/keys across keycloak and postgresql, and possibly ferret if we get that far. Possibly the same for mongo?

@TejasNangru
Copy link

Hi, i want to give this issue a try,
can you share some more details about it?

@birm
Copy link
Member Author

birm commented Feb 15, 2025

You can connect to both mongo and postgres with a certificate instead of a password:

https://www.postgresql.org/docs/current/auth-cert.html
https://www.mongodb.com/docs/manual/tutorial/configure-x509-client-authentication/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants