Using JSON Web Token (JWT)

This authentication mechanism enables you to authenticate via JSON Web Token against supported servers.

To configure JWT authentication :

  1. To access authentication options, open the ODBC Data Source Administrator where you created the DSN, then select the DSN, and then click Configure.
  2. From the Mechanism drop-down list, select JWT.
  3. In the JWT String field, type a valid jwt string for accessing the Impala server.
  4. To encrypt your credentials, click Encryption Options and then select one of the following:
    • If the credentials are used only by the current Windows user, select Current User Only.
    • Or, if the credentials are used by all users on the current Windows machine, select All Users Of This Machine.

    To confirm your choice and close the Encryption Options dialog box, click OK.

  5. To save your settings and close the dialog box, click OK.
    Important:

    In order to use JWT for authentication, TransportMode must be set to HTTP and JWTString must be specified in the connection string.