NAME

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

VERSION

version 0.002

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:...');

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

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/p5-www-hetzner/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.

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