GetServiceAccountTokenResult

data class GetServiceAccountTokenResult(val backend: String, val clusterRoleBinding: Boolean? = null, val id: String, val kubernetesNamespace: String, val leaseDuration: Int, val leaseId: String, val leaseRenewable: Boolean, val namespace: String? = null, val role: String, val serviceAccountName: String, val serviceAccountNamespace: String, val serviceAccountToken: String, val ttl: String? = null)

A collection of values returned by getServiceAccountToken.

Constructors

Link copied to clipboard
constructor(backend: String, clusterRoleBinding: Boolean? = null, id: String, kubernetesNamespace: String, leaseDuration: Int, leaseId: String, leaseRenewable: Boolean, namespace: String? = null, role: String, serviceAccountName: String, serviceAccountNamespace: String, serviceAccountToken: String, ttl: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard
Link copied to clipboard

The duration of the lease in seconds.

Link copied to clipboard

The lease identifier assigned by Vault.

Link copied to clipboard

True if the duration of this lease can be extended through renewal.

Link copied to clipboard
val namespace: String? = null
Link copied to clipboard
Link copied to clipboard

The name of the service account associated with the token.

Link copied to clipboard

The Kubernetes namespace that the service account resides in.

Link copied to clipboard

The Kubernetes service account token.

Link copied to clipboard
val ttl: String? = null