AuthMech or auth

Default Value Data Type Required

None

String

No

Description

The authentication mechanism to use. Set the property to one of the following values:

  • Plain: The connector authenticates the connection using your Drill user name and password.
  • Kerberos: The connector authenticates the connection using the Kerberos protocol.
  • MapRSASL: The connector authenticates the connection using the MapR-SASL protocol.

If the server you are connecting to does not require authentication, then do not set this property and do not specify any credentials in the connection URL.

If this property is not set but some credentials are specified in the connection URL, then the Drill client tries to detect and use the appropriate authentication mechanism.