PyAirbyte icon indicating copy to clipboard operation
PyAirbyte copied to clipboard

Missing support for self-signed certificates (OSS)

Open mateocolina opened this issue 1 year ago • 2 comments

Currently when using PyAirbyte and trying to connect to the Airbyte API hosted OSS and using self-signed certificates, the verification fails.

from airbyte.cloud.workspaces import CloudWorkspace
workspace = CloudWorkspace(
    workspace_id = "<uuid of workspace>",
    api_root = "https://airbyte.company.com/api/public/v1"
)

Solution: let pass path to CA cert or pass in custom requests.Session object (like in airbyte-api-python-sdk)

mateocolina avatar Dec 12 '24 10:12 mateocolina

Hello, @mateocolina. Thanks for logging this. Is this something you would be interested in helping contribute? We'd be happy to support a PR if so.

Most of the relevant code is in the airbyte._util.api_util module, which is a wrapper around code in the airbyte-ai-python-sdk package.

aaronsteers avatar Dec 17 '24 00:12 aaronsteers

Hi @aaronsteers happy to contribute. Thanks for pointing out the component to be updated. I'll try working on it next week. Cheers

mateocolina avatar Dec 18 '24 07:12 mateocolina