Model API Key for Models

You can prevent unauthorized access to your models by specifying a Model API Key in the “Authorization” header of your model HTTP request. This topic covers how to create, test, and use a Model API Key in Cloudera Machine Learning.

The Model API key governs the authentication part of the process and the authorization is based on what privileges the users already have in terms of the project that they is a part of. For example, if a user/application has read-only access to a project, then the authorization is based on their current access-level to the project, which is “read-only”. If the users have been authenticated to a project, then they can make a request to a model with the Model API Key. This is different to the previously described Access Key, which is only used to identify which model should serve a request.