This is a cache of https://docs.okd.io/4.6/authentication/index.html. It is a snapshot of the page at 2024-11-22T02:26:04.675+0000.
Authentication and authorization overview | Authentication and authorization | OKD 4.6
×

About authentication in OKD

To control access to an OKD cluster, a cluster administrator can configure user authentication and ensure only approved users access the cluster.

To interact with an OKD cluster, users must first authenticate to the OKD API in some way. You can authenticate by providing an OAuth access token or an X.509 client certificate in your requests to the OKD API.

If you do not present a valid access token or certificate, your request is unauthenticated and you receive an HTTP 401 error.

An administrator can configure authentication through the following tasks:

About authorization in OKD

Authorization involves determining whether the identified user has permissions to perform the requested action.

Administrators can define permissions and assign them to users using the RBAC objects, such as rules, roles, and bindings. To understand how authorization works in OKD, see Evaluating authorization.

You can also control access to an OKD cluster through projects and namespaces.

Along with controlling user access to a cluster, you can also control the actions a pod can perform and the resources it can access using security context constraints (SCCs).

You can manage authorization for OKD through the following tasks: