πŸ” SSH Keys

Get All

Returns a collection of SSH Keys you’ve added to your Profile.

LinodeClient linodeClient = new LinodeClient("apikey");

// Get All
List<SshKey> list = await linodeClient.SshKey.Get();

Get One

Returns a single SSH Key object identified by id that you have access to view.

LinodeClient linodeClient = new LinodeClient("apikey");

long sshKeyId = 314986;

// Get One
SshKey sshKey = await linodeClient.SshKey.Get(sshKeyId);

Create

Adds an SSH Key to your Account profile.

Update

Updates an SSH Key that you have permission to read_write.

Delete

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.

JSON

Last updated

Was this helpful?