Subject

data class Subject(val group: GroupSubject? = null, val kind: String, val serviceAccount: ServiceAccountSubject? = null, val user: UserSubject? = null)

Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.

Constructors

Link copied to clipboard
constructor(group: GroupSubject? = null, kind: String, serviceAccount: ServiceAccountSubject? = null, user: UserSubject? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val group: GroupSubject? = null

group matches based on user group name.

Link copied to clipboard

kind indicates which one of the other fields is non-empty. Required

Link copied to clipboard

serviceAccount matches ServiceAccounts.

Link copied to clipboard
val user: UserSubject? = null

user matches based on username.