The Time-To-Live (TTL) value for Knox JSON Web Tokens (JWT) is now configurable. The
Custom TTL support for Knox JWT tokens feature allows you to adjust token lifetimes beyond
the default 60 minutes to better align with your specific security
policies, compliance requirements, or workflow needs.
You can configure the Knox JWT token TTL during Cloudera Data Engineering
Service creation using the Cloudera Data Engineering UI.
-
In the Cloudera console, click the Data Engineering
tile.
-
Click Administration in the left navigation menu. The
Administration page is displayed.
-
In the Services column, click the plus icon at the top
to enable Cloudera Data Engineering for an environment.
-
Fill in the required fields for the Service.
-
Go to the Additional Configurations section and insert
knox.knoxTokenTTLMs in the key field, and insert the
required TTL value in the value field.
-
Click Enable to enable the new Service.
Using the Cloudera Data Engineering API, you can also configure the Knox
JWT token TTL for an existing Cloudera Data Engineering Service. For more
information, see Configuring the Knox JWT TTL for an existing Cloudera Data Engineering Service.