DigitalOcean::SSH::Key - Represents a SSH Key object in the DigitalOcean API
version 0.15
FILL ME IN
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.
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.
Returns the api path for this domain
This method updates an SSH key.
name Required, String, The name to give the new SSH key in your account.
my $updated_ssh_key = $ssh_key->update(name => 'newname');
This method returns the updated DigitalOcean::SSH::Key.
This deletes the public SSH Key from your account. This will return 1 on success and undef on failure.
Adam Hopkins <srchulo@cpan.org>
This software is copyright (c) 2015 by Adam Hopkins.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install DigitalOcean, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DigitalOcean
CPAN shell
perl -MCPAN -e shell install DigitalOcean
For more information on module installation, please visit the detailed CPAN module installation guide.