Skip to content

authentication_v1beta1

SelfSubjectReview

class lightkube.models.authentication_v1beta1.SelfSubjectReview(apiVersion=None, kind=None, metadata=None, status=None)

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.

parameters

  • apiVersion Optional[str] - APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info
  • kind Optional[str] - Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info
  • metadata Optional[meta_v1.ObjectMeta] - Standard object's metadata. More info
  • status Optional[SelfSubjectReviewStatus] - Status is filled in by the server with the user attributes.

SelfSubjectReviewStatus

class lightkube.models.authentication_v1beta1.SelfSubjectReviewStatus(userInfo=None)

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

parameters