Using the CertAuthenticator() for authentication does not work in 3.x
Description
Environment
None
Gerrit Reviews
None
Release Notes Description
None
relates
Activity
Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.
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
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.
PYCBC-487
PYCBC-488
PYCBC-489
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().