Share via


SshPublicKey.KeyData Property

Definition

Gets or sets SSH public key certificate used to authenticate with the VM through ssh. 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]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).

[Newtonsoft.Json.JsonProperty(PropertyName="keyData")]
public string KeyData { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="keyData")>]
member this.KeyData : string with get, set
Public Property KeyData As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to