Generating a JWT token from the CDP side
You can generate a JWT token in Cloudera Data Platform (CDP) and use the token as a Standard Authorization Bearer token in your client to access a Hive or Impala Virtual Warehouse.
To navigate to the Knox UI instead of using the CDW UI, follow the steps below:
- Log into CDP, and in the Cloudera Management Console, select .
Scroll down to Services, and click Token Integration.
Apache Knox in CDP appears.
- Click Token Generation.
- In Token Generation, choose the lifespan of the token, and click Generate Token.
Copy the JWT token that you generated and use the token on your Hive or Impala
client to sign into your Virtual Warehouse.
For security reasons, after you close Token Generation, you cannot see the token again.