-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
Description
Problem Description
Currently I can use the postgresql connector with the following configuration:
| def __init__( | |
| self, | |
| host, | |
| port, | |
| user, | |
| password, | |
| database, | |
| schema, | |
| tables, | |
| ssl_enabled, | |
| ssl_ca, | |
| logger_, | |
| retry_count=DEFAULT_RETRY_COUNT, | |
| fetch_size=DEFAULT_FETCH_SIZE, | |
| ): |
There is no option to configure the connector to use mutual TLS.
https://www.elastic.co/docs/reference/search-connectors/es-connectors-postgresql
Proposed Solution
It would like to be able to use client certificate auth.
The connection string with mutual TLS would look something like this:
postgresql://{host}:{port}/{database}?sslmode=prefer&sslkey={path to client.key}&sslcert={path to client.crt}&user={user}