Getting a Cloudera Data Engineering API access token
Cloudera Data Engineering uses JSON Web Tokens (JWT) for API
authentication. To interact with a virtual cluster using the API, you must
obtain an access token for that cluster.
Determine the authentication
endpoint for your virtual cluster:
Navigate to the Cloudera Data EngineeringOverview page by clicking the Data
Engineering tile in the Cloudera
management console.
In the Cloudera Data Engineering Services column, select the environment containing the
virtual cluster you want to interact with.
In the Virtual Clusters column on the right,
click the Cluster Details icon on the virtual
cluster you want to interact with.
Click the link under GRAFANA CHARTS. The
hostname of the URL in your browser is the base URL, and
/gateway/authtkn/knoxtoken/api/v1/token is the
endpoint. For
example: