Add sslmode, sslcert, and sslkey for PostgreSQL RDBMS
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
Start in PostgreSqlBindingsPropertiesProcessor.java, around line 111, where extra PostgreSQL JDBC options are already added to the URL, and check how the private-key and certificates secret entries are turned into file paths. Confirm whether the existing mechanism can carry sslkey and sslcert, then add them. Done means a postgresql binding with those entries produces a JDBC URL containing sslkey and sslcert pointing to the right files, with a test covering it.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
- When a Service Binding exists that provides
private-keyfor typepostgresqlthen spring cloud bindings should addsslkeyto the JDBC url that points to the file location that contains the contents for theprivate-key. - When a Service Binding exists that provides
certificatesfor typepostgresqlthen spring cloud bindings should addsslcertto the JDBC url that points to the file location that contains the contents for thecertificates.
I see there is already a way to add some additional DB options:
https://github.com/spring-cloud/spring-cloud-bindings/blob/7f20fb23ba134a58bf1733b1dce5f87fe9322e5b/spring-cloud-bindings/src/main/java/org/springframework/cloud/bindings/boot/PostgreSqlBindingsPropertiesProcessor.java#L111
I'm wondering if this can already be leveraged to add in missing parameters for sslcert and sslkey which are necessary for TLS Authentication to Postgres databases.
So this issue might just be documenting how to add those parameters, and how to populate them with a TLS certificate added through certificates and private-key are populated as well-known Secret Entries , but at first glance I don't think this functionality works properly.
- Vorherrschende Sprache
- Java
- Sterne
- 50
- Forks
- 33
- Ø Merge
- 6 T. 2 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus spring-cloud/spring-cloud-bindings
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 45/100
spring-cloud/spring-cloud-bindings#116 · 2 Kommentare · 1 Reaktion ·
-
Schwierigkeit 2/5 Ein halber Tag Anfängerfreundlichkeit 55/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 15/100
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 15/100
Alle Issues in spring-cloud/spring-cloud-bindings
Ähnliche Issues
-
area:cpan-port area:performance bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fglock/PerlOnJava#2230 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
federicoiosue/Omni-Notes#1044 ·
-
Bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag