hcloud-ssh-key-authorized

Description

n/a

Variables

Name Type Default Description

api_token

string --

The hcloud API token. Required

key_content

string --

The content of the public ssh key. Required

name

string --

The alias of the ssh key on hcloud. Required

path

string --

The path to the private ssh key.

The path to the public key will be infered (added '.pub'). Required

password

string --

The password to unlock the key (only used if key doesn't exist already).

user

string --

The name of the ssh key owner.

Command-line

frecklecute --community hcloud-ssh-key-authorized --help

Usage: frecklecute hcloud-ssh-key-authorized [OPTIONS]

  Add ssh key to Hetzner cloud.

Options:
  --api-token API_TOKEN      The hcloud API token.  [required]
  --name NAME                The alias of the ssh key on hcloud.  [required]
  --key-content KEY_CONTENT  The content of the public ssh key.
  --password PASSWORD        The password to unlock the key (only used if key
                             doesn't exist already).
  --path PATH                The path to the private ssh key.
  --user USER                The name of the ssh key owner.
  --help                     Show this message and exit.