class

OceanKit::Resource::SSHKey

Inherits OceanKit::Resource::Base / OceanKit::Client::Connection / Reference / Object

Add SSH public keys to the interface so that you can embed your public key into a Droplet at the time of creation. Only the public key is required to take advantage of this functionality.

Instance methods

all

List all of the keys in your account,

Source
create(name, public_key)

Add a new SSH public key to your DigitalOcean account

Source
delete(id : Int32 | String)

Destroy a public SSH key that you have in account

Source
find(id : Int32 | String)

Show information about a key,

Source
ssh_key
Source
update(id, new_name)

Update the name of an SSH key

Source