Start, read and end Hetzner Cloud servers through ONE API token (Cloud API v1). Every start carries a time to live and a spend maximum; the pod destroys the server when the time is up. Connect a Hetzner Cloud project token to use it.
What your agent can do with it
- hetzner_cloudHetzner Cloud API access through a vault API token. credentialRef resolves to the created vault secret; the dispatcher injects `Authorization: Bearer <token>` and composes request…
- hetzner_create_serverStarts a Hetzner Cloud server (POST /v1/servers) for a set time and a set spend maximum. The pod REQUIRES ttlMinutes and maxSpendCents on every start (read the hourly price with h…
- hetzner_delete_serverDestroys a Hetzner Cloud server (DELETE /v1/servers/{id}): the server and its disk are gone and billing stops. The pod runs it by itself when a start's time to live is up. Args: {…
- hetzner_shutdown_serverShuts a Hetzner Cloud server down gracefully (POST /v1/servers/{id}/actions/shutdown). The server and its disk stay, and Hetzner keeps billing a stopped server until it is deleted…
- hetzner_get_serverReads one Hetzner Cloud server (GET /v1/servers/{id}): its status (initializing, starting, running, stopping, off, deleting, migrating, rebuilding, unknown), type and addresses. A…
- hetzner_get_pricingReads Hetzner Cloud prices (GET /v1/pricing): the account's currency and, per server type and location, the hourly and monthly price (net and gross). Read it before a start to set…
What you will need
Asked for at install. Stored in your pod, never on our servers.
- Hetzner Cloud API tokenA Hetzner Cloud project API token with Read & Write permission. It is stored in the vault as an API key and sent as `Authorization: Bearer <token>`. Every serv…
- Hetzner Cloud API tokenSecretHetzner Cloud project API token (Bearer) used by every `hetzner_*` verb.