Configuring the Knox gateway-site.xml

Configure the Knox per-user token limit in Cloudera Manager for Data Sharing. Knox and Ranger Admin permissions are required to create CLIENT_ID and CLIENT_SECRET.

The CLIENT_ID and CLIENT_SECRET are required for creating Data Shares to authorize your external clients. These credentials are exchanged for temporary access tokens.

  • The Cloudera on cloud user must have both Knox and Ranger Admin privileges to perform the tasks required to configure Knox parameters.
  • Knox topologies are automatically deployed. Editing the token lifetime (using the KNOXTOKEN:knox.token.ttl property) and the token allowance per user (using the KNOXTOKEN:knox.token.limit.per.user property) is applicable to all topologies, but can be overridden by individual topology settings.
  1. To set the Knox token limit parameter, go to Cloudera Manager > Clusters > Knox > Configuration.
  2. Search for the gateway.knox.token.limit.per.user property, and enter the desired limit.
    Figure 1. Knox token limit settings
  3. Click Save Changes and refresh the configuration.