Using the CertAuthenticator() for authentication does not work in 3.x

Description

Using the CertAuthenticator() for authentication does not work in the 3.x Python SDK.

There are multiple of issues:

  • The necessary connection string params (keypath, truststorepath) are not translated to the connection string correctly

    • Although the certpath param is added to the connection string

  • If using a CertAuthenticator for authentication, the authentication for the Admin connection is incorrect

  • If using a CertAuthenticator for authentication, authenticating the bucket connection is incorrect

There looks to be a decent amount of (unnecessary?) complication added to the authentication process from the tickets below. It seems it might be related to the 2.x RFC.

NOTE: There seems to be enough effort to correct this to prevent this correct in the 3.x version of the SDK. Will assess a bit more, but current though is that the 4.0 will allow for the use of the CertAuthenticator().

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

Jared Casey March 11, 2022 at 8:46 PM

Adding a link to this ticket as the admin connection currently required by the 3.x SDK is related to CCBC-1204.

Also see PYCBC-866

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created March 11, 2022 at 8:43 PM
Updated May 5, 2022 at 11:04 PM
Resolved May 5, 2022 at 11:04 PM
Instabug