Knox configuration in gateway-site.xml

Learn how to configure Knox parameters to allow admin permissions in Knox. Admin permission is required to create the CLIENT_ID and CLIENT_SECRET.

The CLIENT_ID and CLIENT_SECRET is required for creating Data Shares to authorize your external clients.

The Cloudera public cloud user must be configured as both Knox and Ranger Admin to perform the tasks required to configure Knox parameters.

  1. Go to Cloudera Manager > Knox > Instances > Configuration > Advanced Configuration Snippet (Safety Valve) for conf/gateway-site.xml
  2. Add the gateway.knox.admin.users parameter.
  3. Add the gateway.knox.admin.groups parameter.
  4. Add the gateway.knox.token.limit.per.user parameter.
    The value -1 means "unlimited".

Continue with configuring the Knox IDBroker.