Authenticating Cloudera AI Inference service

Cloudera AI Gateway and Inference uses a AWC_TOKEN obtained from the Anywhere Cloud Console to authenticate users and clients that interact with all HTTP endpoints exposed by the service workload.

  • The AWC_TOKEN expires after one hour by default.

    If a token is expired, the service returns an HTTP 401 Unauthorized response.

  • An access API key does not expire and can be revoked at any time. Use the key as the bearer token for authentication. To create a key, click Generate API Key on the Details page of a Model Deployment in the Cloudera AI Gateway and InferenceUI.

Cloudera AI Gateway and Inference supports tokens issued by the following identity providers:

  • Anywhere Cloud Console
Obtain the AWC_TOKEN from the Anywhere Cloud console. For more information, see Creating tokens for using the API.