TokenRequestPatch

data class TokenRequestPatch(val audience: String? = null, val expirationSeconds: Int? = null)

TokenRequest contains parameters of a service account token.

Constructors

Link copied to clipboard
constructor(audience: String? = null, expirationSeconds: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val audience: String? = null

Audience is the intended audience of the token in "TokenRequestSpec". It will default to the audiences of kube apiserver.

Link copied to clipboard
val expirationSeconds: Int? = null

ExpirationSeconds is the duration of validity of the token in "TokenRequestSpec". It has the same default value of "ExpirationSeconds" in "TokenRequestSpec"