https://pinot.apache.org/ logo
#getting-started
Title
# getting-started
t

Trust Okoroego

02/21/2022, 9:50 AM
Hello! I need to connect presto to Pinot with basic Auth. Could anyone point point me to how I can set this in the pinot.properties Presto catalog configuration.
x

Xiang Fu

02/21/2022, 10:58 AM
you can set extra http headers
t

Trust Okoroego

02/21/2022, 11:00 AM
Any reference ? I see in Trino documentation, the pinot connect has an explicit configuration.
Copy code
pinot.controller.authentication.type
pinot.controller.authentication.user
pinot.controller.authentication.password
pinot.broker.authentication.user
pinot.broker.authentication.password
Just to confirm if this apply to presto
@User could you please give more details on how to apply your suggestion?
m

Mayank

02/21/2022, 8:32 PM
If I am guessing right, the HTTP headers to presto will be passed to Pinot @User? Or is there a different mechanism here?
x

Xiang Fu

02/21/2022, 10:15 PM
you can use below config in presto to set any http headers
Copy code
pinot.extra-http-headers=k1:v1,k2:v2
m

Mayank

02/22/2022, 2:43 AM
Could we put it in the docs?