trinodb / grafana-trino

The Trino datasource allows to query and visualize Trino data from within Grafana.
Apache License 2.0
35 stars 10 forks source link

access to kerberized data #254

Open vder opened 7 months ago

vder commented 7 months ago

Hi, can I use trino plugin to acess data that requires kerberos authentication? At first glance it rather wont work, bu tmaybe i missed something?

nineinchnick commented 7 months ago

I haven't tested it with Kerberos, but I don't think it'll work out of the box. The Trino Go driver also doesn't have any Kerberos support.

vder commented 7 months ago

Thanks.

vder commented 7 months ago

Hi I took a look into the code and as far I understand it kerberos connections are supported in trino go client, so If I wanna add this feature to plugin, all I have to do is add some fields for new parameters and then pass them to trino client, right?

nineinchnick commented 7 months ago

Yes, hopefully, you should be able to find existing examples in Grafana docs how Kerberos authentication is usually handled. I know they describe this at least for OAuth2.

youaodu commented 2 months ago

hello, what method was used in the end for this issue?

nineinchnick commented 2 months ago

This is not resolved yet.