Sending json message using Python to queue using Kerberos authentication.
Comments
-
Hi @Pravin, not yet, unfortunately. Features are still being added to the Python API. If you have a look at the Python docs you can see what is supported currently and what isn't.
Solace is payload agnostic so any of our other APIs that support Kerberos, such as Java, will do the trick. To get started quickly, you could use our test harness tool, sdkperf - this will take your json as a file, authenticate using Kerberos, and send the data for you.
0 -
Hey @Pravin ! Can you please start another post regarding certificate authentication with python so we can answer it there instead and I can show you a code snippet on how to use certificate authentication. In the meantime, you can check out https://tutorials.solace.dev/ under python there are code snippets showing how to configure authentication using ClientCertificateAuthentication
0 -
Hey @gaquino ! According to the docs here, https://docs.solace.com/API/Messaging-APIs/Solace-APIs-Overview.htm Kerberos is supported with the Python API now :)
0 -
Hey @gaquino you can simply set your authentication scheme to use kerberos as seen in the docs here https://docs.solace.com/API-Developer-Online-Ref-Documentation/python/source/rst/solace.messaging.config.html#solace.messaging.config.authentication_strategy.Kerberos assuming that you are logged in with kerberos on your machine (via
kinit
)0