How can I authenticate when querying druid?

I installed druid from https://druid.apache.org/docs/latest/tutorials/index.html to install druid.

The following code has been added to the common.runtime.properties file.

Basic Security

druid.auth.authenticatorChain=[“MyBasicAuthenticator”]

druid.auth.authenticator.MyBasicAuthenticator.type=basic

druid.auth.authenticator.MyBasicAuthenticator.initialAdminPassword=password1

druid.auth.authenticator.MyBasicAuthenticator.initialInternalClientPassword=password2

druid.auth.authenticator.MyBasicAuthenticator.authorizerName=MyBasicAuthorizer

Creating an Escalator

Escalator

druid.escalator.type=basic

druid.escalator.internalClientUsername=druid_system

druid.escalator.internalClientPassword=password2

druid.escalator.authorizerName=MyBasicAuthorizer

druid.auth.authorizers=[“MyBasicAuthorizer”]

druid.auth.authorizer.MyBasicAuthorizer.type=basic

``

Also, “druid-basic-security” is added to druid.extensions.loadList

druid.extensions.loadList=[“druid-hdfs-storage”, “druid-kafka-indexing-service”, “druid-datasketches”, “druid-basic-security”]

``

How can I authenticate when querying druid?

Should I add a username and password to the HTTP header?