com.pulumi.vault.identity.kotlin.outputs.GetOidcClientCredsResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-vault-kotlin Show documentation
Show all versions of pulumi-vault-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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