What is the recommended way for authentication and...
# troubleshooting
p
What is the recommended way for authentication and authorization for programmatic query access to a pinot table? We are thinking of having multiple tables per tenant and would like to be able to control access at a table level. What is the recommended mechanism for access logging?
FYI @abhinav wagle
We did go through https://docs.pinot.apache.org/operators/tutorials/authentication-authorization-and-acls and we are interested in jwt token based approach and not basic http auth.
m
Afaik, OSS has basic auth only cc: @Alexander Pucher
p
Has anyone figured out a way to configure jwt token based auth? At this point, I am thinking of having a rest api that validates jwt token, and issue the sql query provided in the body of the api call on behalf of the user and return the response back. The thin api layer also makes sure that the user is authorized to query the table. Unfortunately this doesn't allow us to use oss sdk for programmatic access. Is this what folks are doing? Any suggestions or feedback is highly appreciated.
m
Auth is defined as an interface in Pinot. You can plug-in your own implementation there, instead of creating a thin layer
p
Thanks. I'll look into it.
While looking into the code, I discovered UrlAuthProvider.java added via pull request #8670. Do we know when this will be released?
Unfortunately this doesn't take care of client auth in broker. that still happens via basic http at best. 😞