SshPublicKeyGenerateKeyPairResult Class
Response from generation of an SSH key pair.
Constructor
SshPublicKeyGenerateKeyPairResult(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
private_key
|
Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret. Required. |
|
public_key
|
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. Required. |
|
id
|
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}. Required. |
Attributes
id
The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}. Required.
id: str
private_key
Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret. Required.
private_key: str
public_key
Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format. Required.
public_key: str