NAME

WWW::Hetzner::Robot::API::Keys - Hetzner Robot SSH Keys API

VERSION

version 0.001

SYNOPSIS

my $robot = WWW::Hetzner::Robot->new(...);

# List all keys
my $keys = $robot->keys->list;

# Get specific key
my $key = $robot->keys->get('aa:bb:cc:...');

# Create new key
my $key = $robot->keys->create(
    name => 'my-key',
    data => 'ssh-ed25519 AAAA...',
);

# Delete key
$robot->keys->delete('aa:bb:cc:...');

NAME

WWW::Hetzner::Robot::API::Keys - Hetzner Robot SSH Keys API

METHODS

list

Returns arrayref of WWW::Hetzner::Robot::Key objects.

get

my $key = $robot->keys->get($fingerprint);

Returns WWW::Hetzner::Robot::Key object.

create

my $key = $robot->keys->create(name => 'my-key', data => 'ssh-ed25519 ...');

Creates key and returns WWW::Hetzner::Robot::Key object.

delete

$robot->keys->delete($fingerprint);

SUPPORT

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/Getty/p5-www-hetzner

git clone https://github.com/Getty/p5-www-hetzner.git

AUTHOR

Torsten Raudssus <torsten@raudssus.de>

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

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