How to configure access credential for Druid SQL API?

Hi,
I am using latest Druid release (0.10.0) enabling SQL API.

Currently, I would like to restrict the access to the SQL API using username/password.

How can I configure it on Druid side?

Thanks.

If you are using SQL via http then you can use the Kerberos module if you have such infrastructure.

I don’t think the JDBC avatica server offer such a mechanism yet.

It doesn’t support access control via user/password yet although work is in progress to add that. See https://github.com/druid-io/druid/pull/4270 and https://github.com/druid-io/druid/pull/4271.