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

com.pulumi.gcp.applicationintegration.kotlin.outputs.AuthConfigClientCertificate.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: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.applicationintegration.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property encryptedPrivateKey The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.
 * @property passphrase 'passphrase' should be left unset if private key is not encrypted.
 * Note that 'passphrase' is not the password for web server, but an extra layer of security to protected private key.
 * @property sslCertificate The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.
 */
public data class AuthConfigClientCertificate(
    public val encryptedPrivateKey: String,
    public val passphrase: String? = null,
    public val sslCertificate: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.applicationintegration.outputs.AuthConfigClientCertificate): AuthConfigClientCertificate = AuthConfigClientCertificate(
            encryptedPrivateKey = javaType.encryptedPrivateKey(),
            passphrase = javaType.passphrase().map({ args0 -> args0 }).orElse(null),
            sslCertificate = javaType.sslCertificate(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy