GetServiceAccountTokenPlainArgs

data class GetServiceAccountTokenPlainArgs(val backend: String, val clusterRoleBinding: Boolean? = null, val kubernetesNamespace: String, val namespace: String? = null, val role: String, val ttl: String? = null) : ConvertibleToJava<GetServiceAccountTokenPlainArgs>

A collection of arguments for invoking getServiceAccountToken.

Constructors

Link copied to clipboard
constructor(backend: String, clusterRoleBinding: Boolean? = null, kubernetesNamespace: String, namespace: String? = null, role: String, ttl: String? = null)

Properties

Link copied to clipboard

The Kubernetes secret backend to generate service account tokens from.

Link copied to clipboard

If true, generate a ClusterRoleBinding to grant permissions across the whole cluster instead of within a namespace.

Link copied to clipboard

The name of the Kubernetes namespace in which to generate the credentials.

Link copied to clipboard
val namespace: String? = null

The namespace of the target resource. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.

Link copied to clipboard

The name of the Kubernetes secret backend role to generate service account tokens from.

Link copied to clipboard
val ttl: String? = null

The TTL of the generated Kubernetes service account token, specified in seconds or as a Go duration format string.

Functions

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