com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.integrationconnectors.kotlin.outputs
import kotlin.Suppress
/**
*
* @property clientKey Secret version reference containing a PKCS#8 PEM-encoded private key associated with the Client Certificate.
* This private key will be used to sign JWTs used for the jwt-bearer authorization grant.
* Specified in the form as: projects/*/secrets/*/versions/*.
* @property jwtClaims JwtClaims providers fields to generate the token.
* */*/*/
*/
public data class ConnectionAuthConfigOauth2JwtBearer(
public val clientKey: ConnectionAuthConfigOauth2JwtBearerClientKey? = null,
public val jwtClaims: ConnectionAuthConfigOauth2JwtBearerJwtClaims? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.integrationconnectors.outputs.ConnectionAuthConfigOauth2JwtBearer): ConnectionAuthConfigOauth2JwtBearer = ConnectionAuthConfigOauth2JwtBearer(
clientKey = javaType.clientKey().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearerClientKey.Companion.toKotlin(args0)
})
}).orElse(null),
jwtClaims = javaType.jwtClaims().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.integrationconnectors.kotlin.outputs.ConnectionAuthConfigOauth2JwtBearerJwtClaims.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy