SelfSubjectReview

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request.

apiVersion: authentication.k8s.io/v1

import "k8s.io/api/authentication/v1"

SelfSubjectReview

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.


SelfSubjectReviewStatus

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.


  • userInfo (UserInfo)

    userInfo is a set of attributes belonging to the user making this request.

    UserInfo holds the information about the user needed to implement the user.Info interface.

    • userInfo.extra (map[string][]string)

      extra is any additional information provided by the authenticator.

    • userInfo.groups ([]string)

      Atomic: will be replaced during a merge

      groups is the names of groups this user is a part of.

    • userInfo.uid (string)

      uid is a unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.

    • userInfo.username (string)

      username is the name that uniquely identifies this user among all active users.

Operations


create create a SelfSubjectReview

HTTP Request

POST /apis/authentication.k8s.io/v1/selfsubjectreviews

Parameters

Response

200 (SelfSubjectReview): OK

201 (SelfSubjectReview): Created

202 (SelfSubjectReview): Accepted

401: Unauthorized


Last modified April 24, 2026 at 2:17 PM PST: Update API resource reference for v1.36.0 (#55505) (d405670c62)

This page is automatically generated.

If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.