All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.vault.kubernetes.kotlin.outputs.GetAuthBackendConfigResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.4.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.vault.kubernetes.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getAuthBackendConfig.
 * @property backend
 * @property disableIssValidation
 * @property disableLocalCaJwt
 * @property id The provider-assigned unique ID for this managed resource.
 * @property issuer Optional JWT issuer. If no issuer is specified, `kubernetes.io/serviceaccount` will be used as the default issuer.
 * @property kubernetesCaCert PEM encoded CA cert for use by the TLS client used to talk with the Kubernetes API.
 * @property kubernetesHost Host must be a host string, a host:port pair, or a URL to the base of the Kubernetes API server.
 * @property namespace
 * @property pemKeys Optional list of PEM-formatted public keys or certificates used to verify the signatures of Kubernetes service account JWTs. If a certificate is given, its public key will be extracted. Not every installation of Kubernetes exposes these keys.
 */
public data class GetAuthBackendConfigResult(
    public val backend: String? = null,
    public val disableIssValidation: Boolean,
    public val disableLocalCaJwt: Boolean,
    public val id: String,
    public val issuer: String,
    public val kubernetesCaCert: String,
    public val kubernetesHost: String,
    public val namespace: String? = null,
    public val pemKeys: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.kubernetes.outputs.GetAuthBackendConfigResult): GetAuthBackendConfigResult = GetAuthBackendConfigResult(
            backend = javaType.backend().map({ args0 -> args0 }).orElse(null),
            disableIssValidation = javaType.disableIssValidation(),
            disableLocalCaJwt = javaType.disableLocalCaJwt(),
            id = javaType.id(),
            issuer = javaType.issuer(),
            kubernetesCaCert = javaType.kubernetesCaCert(),
            kubernetesHost = javaType.kubernetesHost(),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
            pemKeys = javaType.pemKeys().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy