Using JSON Web Token (JWT)

This authentication mechanism requires JWTString to be specified in the connection string. If JWTString is not specified in the connection string, the connector will attempt to find it in the system environment variables.

You provide this information to the connector in the connection URL. For more information about the syntax of the connection URL, see Building the Connection URL.

To configure JWT authentication:

  1. Set the AuthMech property to 14.
  2. Set the JWTString property to the appropriate JWT to access the server.

For example:

jdbc:hive://node1.example.com:21050;AuthMech=14;JWTString=s0m3t0ken5tr1ngh3re