SelfSubjectReview v1beta1
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.
apiVersion: authentication.k8s.io/v1beta1
kind: SelfSubjectReview
metadata ()
Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
status ()
Status is filled in by the server with the user attributes.
SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.
userInfo (UserInfo)
UserInfo holds the information about the user needed to implement the user.Info interface.
userInfo.extra (map[string][]string)
Any additional information provided by the authenticator.
userInfo.uid (string)
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)
The name that uniquely identifies this user among all active users.
HTTP Request
POST /apis/authentication.k8s.io/v1beta1/selfsubjectreviews
Parameters
body: , required
fieldManager (in query): string
fieldValidation (in query): string
Response
200 (SelfSubjectReview): OK
201 (): Created
202 (SelfSubjectReview): Accepted
401: Unauthorized