API Key for Models
You can prevent unauthorized access to your models by specifying an API key in the Authorization header of your model HTTP request. This topic covers how to create, test, and use an API key in Cloudera AI.
The 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 are a part of. For example, if a user or 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 API key. This is different from the previously described Access Key, which is only used to identify which model should serve a request.