GibilGibil

gibil auth

Manage authentication and API tokens

Configure your Hetzner token and optional Gibil API key. Auth is required for VM operations but the Gibil platform account is optional.

Usage

gibil auth <subcommand>

Subcommands

gibil auth setup --token <token>

Save your Hetzner API token locally.

gibil auth setup --token hc_xxxxxxxxxxxx
# ✓ Hetzner token saved to ~/.gibil/config.json

gibil auth login --key <key>

Log in with a Gibil API key (for paid plans with metering).

gibil auth login --key pk_live_xxxxx
# ✓ Logged in as alex@example.com (dev plan)

gibil auth status

Check current authentication status.

gibil auth status

gibil auth logout

Remove stored credentials.

gibil auth logout

Auth is optional. Without a Gibil API key, the CLI works the same — you just provide your own Hetzner token and pay Hetzner directly.

Next steps

On this page