TokenRequestArgs

data class TokenRequestArgs(val audience: Output<String>, val expirationSeconds: Output<Int>? = null) : ConvertibleToJava<TokenRequestArgs>

TokenRequest contains parameters of a service account token.

Constructors

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

Properties

Link copied to clipboard
val audience: Output<String>

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: Output<Int>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): TokenRequestArgs