Skip to content

kuseler/hcloud-operate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSHKeyOperator

SSH Key Deletion/Creation Operator for Hetzner API

Setup:

Set your API_TOKEN environment variable to your Hetzner API Token

flags:

  1. you can use the -d flag to delete keys with the parameter name, e.g. ./SSHKeyOperator -d exampleKeyName
  2. you can use the -c flag to create keys, the parameters are name and PublicKey, e.g.: ./SSHKeyOperator -c exampleKeyName "$(< /home/user/.ssh/yourpublickey)"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published