TokenRequest

com.coralogix.zio.k8s.model.storage.v1.TokenRequest
See theTokenRequest companion object
case class TokenRequest(audience: String, expirationSeconds: Optional[Long])

TokenRequest contains parameters of a service account token.

Value parameters

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".

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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.

Attributes

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.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product