I am intergrating external encryption key to confd getting the encrypted value from confd and save it on text file these all working fine. and am also replace the encryption key on confd.conf. While am trying to insert the plain value to CDB it showing some error.
Am using these lines of code to set the value to confd
The maapi.start_user_session looks fine. Can you compare it with examples.confd/intro/python/12-maapi/maapi_example.py (around line 526) if you have all params correct?
The issue I can see is that you are passing _confd.PORT, byt the last param is not port, but prot
( the protocol used by the client for connecting). Please try _confd.PROTO_TCP like in the example.