Struct digitalocean::api::SshKey []

pub struct SshKey { /* fields omitted */ }

DigitalOcean allows you to 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.

Digital Ocean Documentation.

Methods

impl SshKey

This is a unique identification number for the key. This can be used to reference a specific SSH key when you wish to embed a key into a Droplet.

Note: This is a String to allow for id and fingerprint to be used in Get, Update, and Delete calls like the API describes.

This attribute contains the fingerprint value that is generated from the public key. This is a unique identifier that will differentiate it from other keys using a format that SSH recognizes.

This attribute contains the entire public key string that was uploaded. This is what is embedded into the root user's authorized_keys file if you choose to include this SSH key during Droplet creation.

This is the human-readable display name for the given SSH key. This is used to easily identify the SSH keys when they are displayed.

impl SshKey
[src]

Trait Implementations

impl Debug for SshKey
[src]

Formats the value using the given formatter.

impl Clone for SshKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl HasResponse for SshKey
[src]