Authenticating Cloudera AI Inference service
Cloudera AI Inference service uses a CDP_TOKEN obtained
from the User Management Service (UMS) to authenticate users and clients that interact with
all HTTP endpoints exposed by the service workload.
- UMS tokens expire after one hour by default.
- If a token is expired, the service returns an HTTP 401 Unauthorized response.
- To extend the token lifetime, use the following
command:
$ cdp iam set-authentication-policy --workload-auth-token-expiration-sec [***EXPIRATION TIME IN SECONDS***]
Cloudera AI Inference service supports tokens issued by the following identity providers:
- User Management Service (UMS) (part of the Cloudera Control Plane)
Obtain the
CDP_TOKEN from the User Management Service (UMS)
using either the CDP CLI or Cloudera AI Inference service UI.
