TokenRequest

case class TokenRequest(audience: String, expirationSeconds: Optional[Long])

TokenRequest contains parameters of a service account token.

TokenRequest contains parameters of a service account token.

Value Params
audience

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

expirationSeconds

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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getAudience: IO[K8sFailure, String]

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

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

This effect always succeeds, it is safe to use the field audience directly.

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

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

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product