Configuring Knox 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.

  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.
  5. Click Save Changes and refresh the configuration as needed.

Continue with configuring the Knox IDBroker.