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

com.pulumi.vault.identity.kotlin.outputs.GetOidcClientCredsResult.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.identity.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getOidcClientCreds.
 * @property clientId The Client ID returned by Vault.
 * @property clientSecret The Client Secret Key returned by Vault.
 * For public OpenID Clients `client_secret` is set to an empty string `""`
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name
 * @property namespace
 */
public data class GetOidcClientCredsResult(
    public val clientId: String,
    public val clientSecret: String,
    public val id: String,
    public val name: String,
    public val namespace: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.identity.outputs.GetOidcClientCredsResult): GetOidcClientCredsResult = GetOidcClientCredsResult(
            clientId = javaType.clientId(),
            clientSecret = javaType.clientSecret(),
            id = javaType.id(),
            name = javaType.name(),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy