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
fun TokenRequestArgs(audience: Output<String>, expirationSeconds: Output<Int>? = null)

Functions

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

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"