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

com.pulumi.vault.ssh.kotlin.outputs.SecretBackendRoleAllowedUserKeyConfig.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.ssh.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property lengths List of allowed key lengths, vault-1.10 and above
 * @property type Key type, choices:
 * rsa, ecdsa, ec, dsa, ed25519, ssh-rsa, ssh-dss, ssh-ed25519, ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521
 */
public data class SecretBackendRoleAllowedUserKeyConfig(
    public val lengths: List,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.ssh.outputs.SecretBackendRoleAllowedUserKeyConfig): SecretBackendRoleAllowedUserKeyConfig = SecretBackendRoleAllowedUserKeyConfig(
            lengths = javaType.lengths().map({ args0 -> args0 }),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy