SshKeyPairArgs

data class SshKeyPairArgs(val privateKey: Output<String>? = null, val publicKey: Output<String>? = null) : ConvertibleToJava<SshKeyPairArgs>

The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.

Constructors

Link copied to clipboard
constructor(privateKey: Output<String>? = null, publicKey: Output<String>? = null)

Properties

Link copied to clipboard
val privateKey: Output<String>? = null

SSH private key.

Link copied to clipboard
val publicKey: Output<String>? = null

SSH public key

Functions

Link copied to clipboard
open override fun toJava(): SshKeyPairArgs