Skip to content

Add sslmode, sslcert, and sslkey for PostgreSQL RDBMS #102

@voor

Description

@voor
  • When a Service Binding exists that provides private-key for type postgresql then spring cloud bindings should add sslkey to the JDBC url that points to the file location that contains the contents for the private-key.
  • When a Service Binding exists that provides certificates for type postgresql then spring cloud bindings should add sslcert to the JDBC url that points to the file location that contains the contents for the certificates.

I see there is already a way to add some additional DB options:


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions