How does Trino handle user-level authentication for a cutom data source? #18881
Unanswered
Tommo56700
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have found it is possible to connect a HTTP data source to Trino: https://trino.io/docs/current/develop/example-http.html
I want to know if, in general, can Trino handle user-level authentication for a custom data source. Say I am connecting to two data sources: X is a postgres database with simple username password authentication for all users, Y is a custom HTTP connector to a REST API where a bearer token must be passed in the request header per user.
Is it possible to do a simple query joining data from X and Y, if each user will need to provide their own credentials?
Are there any examples of custom connector plugins that authenticate users in this way?
Beta Was this translation helpful? Give feedback.
All reactions