sshkeys
Overview
Name | sshkeys |
Type | Resource |
Id | linode.profile.sshkeys |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | The unique identifier of an SSH Key object. |
created | string | The date this key was added. |
label | string | A label for the SSH Key. |
ssh_key | string | The public SSH Key, which is used to authenticate to the root user of the Linodes you deploy. Accepted formats: ssh-dss ssh-rsa ecdsa-sha2-nistp ssh-ed25519 * sk-ecdsa-sha2-nistp256 (Akamai-specific) |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getSSHKey | SELECT | sshKeyId | Returns a single SSH Key object identified by id that you have access to view. |
getSSHKeys | SELECT | Returns a collection of SSH Keys you've added to your Profile. | |
addSSHKey | INSERT | Adds an SSH Key to your Account profile. | |
deleteSSHKey | DELETE | sshKeyId | Deletes an SSH Key you have access to. Note: deleting an SSH Key will not remove it from any Linode or Disk that was deployed with authorized_keys . In those cases, the keys must be manually deleted on the Linode or Disk. This endpoint will only delete the key's association from your Profile. |
_getSSHKey | EXEC | sshKeyId | Returns a single SSH Key object identified by id that you have access to view. |
_getSSHKeys | EXEC | Returns a collection of SSH Keys you've added to your Profile. | |
updateSSHKey | EXEC | sshKeyId | Updates an SSH Key that you have permission to read_write .Only SSH key labels can be updated. |