NAME

WWW::VastAI::SSHKey - Account SSH key wrapper with update and delete helpers

VERSION

version 0.001

DESCRIPTION

WWW::VastAI::SSHKey represents an SSH key managed by WWW::VastAI::API::SSHKeys.

METHODS

key

my $public_key = $ssh_key->key;

Returns the public key text, normalizing either key or public_key from the API payload.

created_at

Returns the payload creation timestamp when available.

update

$ssh_key->update($new_public_key);

Updates the SSH key and refreshes the local payload.

delete

Deletes the SSH key and returns the raw API response.

SEE ALSO

WWW::VastAI, WWW::VastAI::API::SSHKeys

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-vastai/issues.

IRC

Join #kubernetes on irc.perl.org or message Getty directly.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus <torsten@raudssus.de> https://raudssus.de/.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.